diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e5614c..04490cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,7 +55,7 @@ jobs: - name: Delete old zip asset if it exists if: env.RELEASE_EXISTS == 'true' run: | - ASSET_ID=$(gh release view "${{ env.VERSION }}" --json assets --jq '.assets[] | select(.name == "${{ env.ZIP_BASENAME }}") | .id') + ASSET_ID=$(gh release view "Extension @${{ env.VERSION }}" --json assets --jq '.assets[] | select(.name == "${{ env.ZIP_BASENAME }}") | .id') if [ -n "$ASSET_ID" ]; then echo "Deleting old asset: $ASSET_ID" gh api repos/:owner/:repo/releases/assets/$ASSET_ID -X DELETE