diff --git a/.github/workflows/release-check.yml b/.github/workflows/release-check.yml index 7c1bba46..4b798414 100644 --- a/.github/workflows/release-check.yml +++ b/.github/workflows/release-check.yml @@ -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##*/} diff --git a/rust/scripts/publish-release.sh b/rust/scripts/publish-release.sh index 4c18ff3b..231cd7e5 100755 --- a/rust/scripts/publish-release.sh +++ b/rust/scripts/publish-release.sh @@ -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")