Skip to content

Commit

Permalink
use long-version flags
Browse files Browse the repository at this point in the history
Co-authored-by: Mikael Olausson <[email protected]>
  • Loading branch information
erikgb and mikaelol authored Oct 6, 2023
1 parent 2b48b7b commit 2301646
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
- run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git tag -d v${{ steps.release.outputs.major }} || true
git tag -d v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true
git push origin :v${{ steps.release.outputs.major }} || true
git push origin :v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true
git tag --delete v${{ steps.release.outputs.major }} || true
git tag --delete v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true
git push --delete origin v${{ steps.release.outputs.major }} || true
git push --delete origin v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true
git tag -a v${{ steps.release.outputs.major }} -m "Release v${{ steps.release.outputs.major }}"
git tag -a v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} -m "Release v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}"
git push origin v${{ steps.release.outputs.major }}
Expand Down

0 comments on commit 2301646

Please sign in to comment.