Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.29 KB

RELEASE.md

File metadata and controls

29 lines (23 loc) · 1.29 KB

Releasing a new version of octopoller.rb

  1. Create a list of all the changes since the prior release
    1. Compare the previous release to main using https://github.com/octokit/octopoller.rb/compare/v1.3.3.7...main(assuming that the last release wasv1.3.3.7`)
  2. 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)
  3. Update the version
    1. Checkout main
    2. Update the constant in lib/octopoller/version.rb (when bundle is executed the version in the Gemfile.lock will be updated)
    3. Run bin/setup so that Gemfile.lock will be updated with the new version
    4. Commit and push directly to main
  4. (Optional) Run script/release with no parameters to execute a dry run of a release
  5. Run the script/release -r script to cut a release (this will also run script/validate to perform the permission check)
  6. Draft a new release at https://github.com/octokit/octopoller.rb/releases/new containing the changelog from step 1

Prerequisites

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