Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhichang committed Dec 26, 2023
1 parent cbc9f4a commit 4cf998b
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 @@ -37,12 +37,12 @@ jobs:
- name: Build source tarball
run: git archive --format=tar HEAD | gzip > archive.tgz

- name: Try remove mutalbe tag
- name: Remove the tag if it's mutable, let action-gh-release create it.
# https://github.com/softprops/action-gh-release/issues/171
run: |
if [[ $RELEASE_TAG != v* ]]; then
echo "try removing mutalbe tag $RELEASE_TAG"
git push origin :refs/tags/$RELEASE_TAG || true
git push origin :refs/tags/$RELEASE_TAG
fi
- name: Create or overwrite a release
Expand Down

0 comments on commit 4cf998b

Please sign in to comment.