- Create a list of all the changes since the prior release
- Compare the previous release to
main
usinghttps://github.com/octokit/octopoller.rb/compare/
v1.3.3.7...main(assuming that the last release was
v1.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
(whenbundle
is executed the version in theGemfile.lock
will be updated) - Run
bin/setup
so thatGemfile.lock
will be updated with the new version - Commit and push directly to
main
- Checkout
- (Optional) Run
script/release
with no parameters to execute a dry run of a release - Run the
script/release -r
script to cut a release (this will also runscript/validate
to 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