- Create a list of all the changes since the prior release
- Compare the previous release to
mainusinghttps://github.com/octokit/octopoller.rb/compare/v1.3.3.7...main(assuming that the last release wasv1.3.3.7`)
- Compare the previous release to
- Ensure there are no breaking changes (if there are breaking changes you'll need to create a release branch without those changes or bump the major version)
- Update the version
- Checkout
main - Update the constant in
lib/octopoller/version.rb(whenbundleis executed the version in theGemfile.lockwill be updated) - Run
bin/setupso thatGemfile.lockwill be updated with the new version - Commit and push directly to
main
- Checkout
- (Optional) Run
script/releasewith no parameters to execute a dry run of a release - Run the
script/release -rscript to cut a release (this will also runscript/validateto perform the permission check) - Draft a new release at https://github.com/octokit/octopoller.rb/releases/new containing the changelog from step 1
In order to create a release, you will need to be an owner of the octopoller gem on Rubygems.
Verify with:
gem owner octopoller
An existing owner can add new owners with:
gem owner octopoller --add EMAIL