Skip to content

Commit

Permalink
chore: enforce tag signature when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Feb 22, 2024
1 parent 8fd5bb7 commit 1d8d078
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ MAJOR_VERSION=$(echo $NEW_VERSION | cut -d. -f1)
# Fail if there are any unstaged changes left
git diff --exit-code
git commit -m "Release v$NEW_VERSION πŸš€"
git tag -fa v$NEW_VERSION -m "Release v$NEW_VERSION πŸš€"
git tag -fa v$MAJOR_VERSION -m "Release v$NEW_VERSION πŸš€"
git push origin v$NEW_VERSION
git push -f origin v$MAJOR_VERSION
git tag -s -fa v$NEW_VERSION -m "Release v$NEW_VERSION πŸš€"
git tag -s -fa v$MAJOR_VERSION -m "Release v$NEW_VERSION πŸš€"
git push origin tag v$NEW_VERSION
git push -f origin tag v$MAJOR_VERSION
git push --follow-tags
gh release create v$NEW_VERSION --title "v$NEW_VERSION" --generate-notes -d

0 comments on commit 1d8d078

Please sign in to comment.