Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Latest commit

 

History

History
76 lines (53 loc) · 1.4 KB

RELEASE.md

File metadata and controls

76 lines (53 loc) · 1.4 KB

Gem Release Process

Don't use the bundle exec rake release task. It is more convenient, but it skips the process of signing the version release task.

Run Tests

$ bundle exec rake test
$ bundle exec rake wwtd

Git Push

$ git push

Check for regressions in automated tests covered by the README badges.

Bump Version Number and edit CHANGELOG.md

$ vi lib/sirp/version.rb
$ git add lib/sirp/version.rb
$ vi CHANGELOG.md
$ git add CHANGELOG.md

Git Commit Version and CHANGELOG Changes, Tag and push to Github

$ git commit -m 'Bump version v2.0.0'
$ git tag -s v2.0.0 -m "v2.0.0" SHA1_OF_COMMIT

Verify last commit and last tag are GPG signed:

$ git tag -v v2.0.0
...
gpg: Good signature from "Glenn Rempe (Code Signing Key) <glenn@rempe.us>" [ultimate]
...
$ git log --show-signature
...
gpg: Good signature from "Glenn Rempe (Code Signing Key) <glenn@rempe.us>" [ultimate]
...

Push code and tags to GitHub:

$ git push
$ git push --tags

Push gem to Rubygems.org

$ gem push pkg/sirp-2.0.0.gem

Verify Gem Push at https://rubygems.org/gems/sirp

Create a GitHub Release

Specify the tag we just pushed to attach release to. Copy notes from CHANGELOG.md

https://github.com/grempe/sirp/releases

Announce Release on Twitter

The normal blah, blah, blah.