Skip to content

Commit

Permalink
ci: fix the github release url for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Sep 17, 2024
1 parent 64c2270 commit ef2a309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
name: Build and publish the universal standard release
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_RELEASE_URL: ${{ github.api_url }}/repos/${{ github.repository }}/releases/${{ fromJSON(needs.release-check.outputs.json)['version.json'].id }}
run: |
REPOSITORY_NAME=${GITHUB_REPOSITORY##*/}
Expand Down
2 changes: 1 addition & 1 deletion rust/scripts/publish-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ main() {
exit 1
fi

__release_target_asset=`echo $__release_response | jq -r ".assets | .[] | select(.name == \"$release_target\")"`
__release_target_asset=`echo $__release_response | jq -r ".assets | .[] | select(.name == \"$__release_target\")"`

if [ -n "$__release_target_asset" ]; then
(>&2 echo "[publish-release/main] $__release_target_asset already exists, deleting")
Expand Down

0 comments on commit ef2a309

Please sign in to comment.