From 0f76cc5984b8bcf225659bdf9fca9329c77cbc21 Mon Sep 17 00:00:00 2001 From: delarea Date: Thu, 9 Jan 2025 12:38:19 +0200 Subject: [PATCH] Update paths --- .github/workflows/prepareDarwinBinariesForRelease.yml | 2 +- .../apple_release/scripts/download-signed-mac-OS-binaries.sh | 2 +- build/apple_release/scripts/trigger-sign-mac-OS-workflow.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/prepareDarwinBinariesForRelease.yml b/.github/workflows/prepareDarwinBinariesForRelease.yml index 71d02be5d..7a977bdbc 100644 --- a/.github/workflows/prepareDarwinBinariesForRelease.yml +++ b/.github/workflows/prepareDarwinBinariesForRelease.yml @@ -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 diff --git a/build/apple_release/scripts/download-signed-mac-OS-binaries.sh b/build/apple_release/scripts/download-signed-mac-OS-binaries.sh index 077f4603e..1c1d22f38 100755 --- a/build/apple_release/scripts/download-signed-mac-OS-binaries.sh +++ b/build/apple_release/scripts/download-signed-mac-OS-binaries.sh @@ -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 diff --git a/build/apple_release/scripts/trigger-sign-mac-OS-workflow.sh b/build/apple_release/scripts/trigger-sign-mac-OS-workflow.sh index 4e621399e..40d5e14c3 100644 --- a/build/apple_release/scripts/trigger-sign-mac-OS-workflow.sh +++ b/build/apple_release/scripts/trigger-sign-mac-OS-workflow.sh @@ -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\"}}" \ No newline at end of file + https://api.github.com/repos/jfrog/jfrog-cli/actions/workflows/prepareDarwinBinariesForRelease.yml/dispatches \ + -d "{\"ref\":\"v2\",\"inputs\":{\"releaseVersion\":\"$releaseVersion\",\"binaryFileName\":\"$cliExecutableName\"}}" \ No newline at end of file