Skip to content

Latest commit

 

History

History
82 lines (58 loc) · 1.88 KB

RELEASE.md

File metadata and controls

82 lines (58 loc) · 1.88 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
$ rake wwtd

Git Push

$ git push

Check for regressions in automated tests:

Bump Version Number and edit CHANGELOG.md

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

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

$ bundle exec rake build
$ 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/session_keys-2.0.0.gem

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

Create a GitHub Release

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

https://github.com/grempe/session-keys-rb/releases

Announce Release on Twitter

The normal blah, blah, blah.