Skip to content

Commit f98bb20

Browse files
authored
Add GitHub release creation to manual release script (#12)
- Remove duplicate gitignore entry for manual-release.sh - Add gh release create command to manual release workflow - Use commit message as release notes
1 parent be4d661 commit f98bb20

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ coverage/
1313
*.swo
1414
.claude-memory.md
1515
scripts/manual-release.sh
16-
scripts/manual-release.sh

scripts/manual-release.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ echo "📤 Pushing to GitHub..."
4747
git push origin main
4848
git push origin "v$NEW_VERSION"
4949

50+
# Get the commit message for the release notes
51+
COMMIT_MESSAGE=$(git log -1 --pretty=%B)
52+
53+
echo "📢 Creating GitHub release..."
54+
gh release create "v$NEW_VERSION" --target main --title "v$NEW_VERSION" --notes "$COMMIT_MESSAGE"
55+
5056
echo ""
5157
echo "✅ Manual release complete!"
5258
echo "📋 Version: $NEW_VERSION"

0 commit comments

Comments
 (0)