fix: ensure release command creates GitHub release automatically
- Add step to use gh release create after pushing tags - Prevents missing GitHub releases like v0.8.2-v0.8.5 - Extracts release notes from CHANGELOG.md automatically
This commit is contained in:
@@ -47,9 +47,15 @@ Automates the entire release process: analyzes recent commits to determine versi
|
|||||||
- Push commits: `git push`
|
- Push commits: `git push`
|
||||||
- Push tags: `git push --tags`
|
- Push tags: `git push --tags`
|
||||||
|
|
||||||
5. **Provide Next Steps**
|
5. **Create GitHub Release**
|
||||||
- Show link to create GitHub release
|
- Use `gh release create` to publish the release automatically
|
||||||
- Remind to add release notes from changelog
|
- Extract the version section from CHANGELOG.md for release notes
|
||||||
|
- Include the "Generated with Claude Code" footer
|
||||||
|
- This ensures the release is visible in GitHub's releases page
|
||||||
|
|
||||||
|
6. **Provide Confirmation**
|
||||||
|
- Show the GitHub release URL
|
||||||
|
- Confirm successful publication
|
||||||
|
|
||||||
## Version Bump Rules
|
## Version Bump Rules
|
||||||
|
|
||||||
@@ -140,13 +146,11 @@ claude run release major
|
|||||||
# ✅ Committed changes
|
# ✅ Committed changes
|
||||||
# ✅ Created tag v0.2.0
|
# ✅ Created tag v0.2.0
|
||||||
# ✅ Pushed to GitHub
|
# ✅ Pushed to GitHub
|
||||||
|
# ✅ Created GitHub release
|
||||||
#
|
#
|
||||||
# 🎉 Release v0.2.0 complete!
|
# 🎉 Release v0.2.0 complete!
|
||||||
#
|
#
|
||||||
# Next steps:
|
# GitHub Release: https://github.com/user/repo/releases/tag/v0.2.0
|
||||||
# 1. Go to https://github.com/user/repo/releases/new?tag=v0.2.0
|
|
||||||
# 2. Add release notes from CHANGELOG.md
|
|
||||||
# 3. Publish the release
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Error Handling
|
## Error Handling
|
||||||
|
|||||||
Reference in New Issue
Block a user