Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into Master
  • Loading branch information
Incpi committed Sep 23, 2024
2 parents 991c905 + 0d649d0 commit c7e27f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7e27f9

Please sign in to comment.