Skip to content

Commit

Permalink
ci: prevent the need to force fetch stable tag
Browse files Browse the repository at this point in the history
  • Loading branch information
benelan committed Jun 4, 2024
1 parent c2ba7f9 commit ce8ec79
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,7 @@ jobs:
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git tag -fa stable -m "Current Stable Release"
git push -f origin stable
git tag -d stable || true
git push origin :stable || true
git tag -a stable -m "Last Stable Release"
git push origin stable

0 comments on commit ce8ec79

Please sign in to comment.