Skip to content

Commit

Permalink
feature/Added clobber argument to uploading resources
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowGenerator committed Aug 5, 2024
1 parent 397adec commit 03de113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
echo "created announcement!"
# Upload the manifest to the Github Release™
gh release upload ${{ github.ref_name }} dist-manifest.json
gh release upload ${{ github.ref_name }} dist-manifest.json --clobber
echo "uploaded manifest!"
# Disable all the upload-artifacts tasks if we have no actual releases
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json > uploads.txt
echo "uploading..."
cat uploads.txt
gh release upload ${{ github.ref_name }} $(cat uploads.txt)
gh release upload ${{ github.ref_name }} $(cat uploads.txt) --clobber
echo "uploaded!"
# Mark the Github Release™ as a non-draft now that everything has succeeded!
Expand Down

0 comments on commit 03de113

Please sign in to comment.