Skip to content

Commit

Permalink
feat: handle existing major release
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Nov 27, 2024
1 parent db01ced commit 48081c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ jobs:
tag_major: ${{ steps.semver.outputs.nextMajor }}
run: |
if [ $(gh release view ${{ env.tag_major }} --json name -q .name) ]; then
gh release edit ${{ env.tag_major }} --tag ${{ env.tag_semver }}
gh release edit ${{ env.tag_major }} --title ${{ env.tag_major }} --tag ${{ env.tag_semver }}
else
gh release create ${{ env.tag_major }} --title ${{ env.tag_major }}
gh release create ${{ env.tag_major }} --title ${{ env.tag_major }} --tag ${{ env.tag_semver }}
fi
- name: Semver Release
Expand Down

0 comments on commit 48081c2

Please sign in to comment.