Skip to content

Commit 28340e9

Browse files
committed
release script
1 parent 0929205 commit 28340e9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

scripts/release.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ git add pyproject.toml
3636
# Commit version bump
3737
git commit -m "chore: bump version to ${NEW_VERSION}"
3838

39-
# Create and push tag
40-
git tag -a "v${NEW_VERSION}" -m "Release v${NEW_VERSION}"
41-
git push origin main --tags
39+
# Push commit
40+
git push origin main
41+
42+
# Create and push only the new tag
43+
git tag "v${NEW_VERSION}"
44+
git push origin "v${NEW_VERSION}"
4245

4346
# Create GitHub release
4447
echo "Creating GitHub release..."

0 commit comments

Comments
 (0)