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 ce1b832 commit cbc9f4a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@ jobs:
- name: Build source tarball
run: git archive --format=tar HEAD | gzip > archive.tgz

- name: Remove existing mutalbe tag "nightly"
- name: Try remove mutalbe tag
# https://github.com/softprops/action-gh-release/issues/171
run: |
if [[ $RELEASE_TAG =~ ^v(.*) ]]; then
else
if [[ $RELEASE_TAG != v* ]]; then
echo "try removing mutalbe tag $RELEASE_TAG"
git push origin :refs/tags/$RELEASE_TAG || true
fi
Expand Down

0 comments on commit cbc9f4a

Please sign in to comment.