Skip to content

Commit

Permalink
Update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Jan 9, 2025
1 parent af06a7b commit 0f76cc5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prepareDarwinBinariesForRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v4
with:
ref: sign_apple_binary
ref: v2

# Builds the executable and moves it inside the app template
- name: Build and Move Executable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ get_specific_artifact_url_with_retries() {
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_ACCESS_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-s https://api.github.com/repos/eyaldelarea/jfrog-cli/actions/artifacts)
-s https://api.github.com/repos/jfrog/jfrog-cli/actions/artifacts)

# Parse the response to find the URL of the desired artifact
if ! artifactUrl=$(echo "$response" | jq -r "first(.artifacts[] | select(.name | contains(\"$cliExecutableName-darwin-v$releaseVersion-$goarch\")) | .archive_download_url)"); then
Expand Down
4 changes: 2 additions & 2 deletions build/apple_release/scripts/trigger-sign-mac-OS-workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_ACCESS_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/eyalDelarea/jfrog-cli/actions/workflows/prepareDarwinBinariesForRelease.yml/dispatches \
-d "{\"ref\":\"sign_apple_binary\",\"inputs\":{\"releaseVersion\":\"$releaseVersion\",\"binaryFileName\":\"$cliExecutableName\"}}"
https://api.github.com/repos/jfrog/jfrog-cli/actions/workflows/prepareDarwinBinariesForRelease.yml/dispatches \
-d "{\"ref\":\"v2\",\"inputs\":{\"releaseVersion\":\"$releaseVersion\",\"binaryFileName\":\"$cliExecutableName\"}}"

0 comments on commit 0f76cc5

Please sign in to comment.