Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
117649 authored Mar 9, 2024
1 parent 6de2d31 commit a9d5748
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ jobs:
notes="${{ env.NOTES }}<br /><br />No changes since [${{ env.PREVIOUS_TAG }}]($url)"
gh release edit dev-build --draft=false --notes="$notes"
fi
ASSETS=$(gh api repos/117649/Tab-Groups/releases/tags/dev-build/assets | jq -r '.[].id')
for ASSET_ID in $ASSETS; do
ASSET_NAME=$(gh api repos/$USERNAME/$REPO/releases/assets/$ASSET_ID | jq -r '.name')
ASSETS=$(gh api repos/117649/Tab-Groups/releases/tags/dev-build/assets | jq -r '.[].name')
for ASSET_NAME in $ASSETS; do
if [[ $ASSET_NAME == *.xpi ]]; then
gh release delete-asset dev-build $ASSET_NAME --yes
fi
Expand Down

0 comments on commit a9d5748

Please sign in to comment.