| name | release |
| description | Guides through the full gem release process — bump version, update CHANGELOG,
tag, push to RubyGems, and create GitHub Release.
Use when user asks to release a new version, cut a release, or similar.
|
| allowed-tools | Bash |
Gem Release Process
Overview
The release process for the schked gem involves:
- Bump version in
lib/schked/version.rb
- Add new section in
CHANGELOG.md
- Commit and push changes to
master
- Create and push a git tag
vX.Y.Z
- CI handles the rest (push to RubyGems via Trusted Publishing + GitHub Release)
Prerequisites
- Trusted Publisher must be configured on RubyGems.org:
- Go to
https://rubygems.org/gems/schked/settings
- Add a Trusted Publisher for:
- Repository:
bibendi/schked
- Workflow:
release.yml
- Environment: (leave empty)
- You must have push access to the repository
- The CI must be green on
master before releasing (recommended)
Step-by-step
1. Determine new version
Look at current version in lib/schked/version.rb. Follow SemVer.
2. Update version file
Edit lib/schked/version.rb and update the VERSION constant: