Don't use the bundle exec rake release
task. It is more convenient,
but it skips the process of signing the version release task.
$ rake test_all
$ git push
Check for regressions in automated tests:
- https://travis-ci.org/grempe/tss-rb
- https://coveralls.io/github/grempe/tss-rb?branch=master
- https://codeclimate.com/github/grempe/tss-rb
$ vi lib/tss/version.rb
$ git add lib/tss/version.rb
$ vi CHANGELOG.md
$ git add CHANGELOG.md
The build
step should ask for PEM passphrase to sign gem. If it does
not ask it means that the signing cert is not present.
Build:
$ rake build
Enter PEM pass phrase:
tss 0.5.0 built to pkg/tss-0.5.0.gem.
Install locally w/ Cert:
$ gem uninstall tss
$ rbenv rehash
$ gem install pkg/tss-0.5.0.gem -P MediumSecurity
Successfully installed tss-0.5.0
1 gem installed
$ git commit -m 'Bump version v0.5.0'
$ git tag -s v0.5.0 -m "v0.5.0" SHA1_OF_COMMIT
Verify last commit and last tag are GPG signed:
$ git tag -v v0.5.0
...
gpg: Good signature from "Glenn Rempe (Code Signing Key) <[email protected]>" [ultimate]
...
$ git log --show-signature
...
gpg: Good signature from "Glenn Rempe (Code Signing Key) <[email protected]>" [ultimate]
...
Push code and tags to GitHub:
$ git push
$ git push --tags
$ gem push pkg/tss-0.1.1.gem
Verify Gem Push at https://rubygems.org/gems/tss
Specify the tag we just pushed to attach release to. Copy notes from CHANGELOG.md
https://github.com/grempe/tss-rb/releases
The normal blah, blah, blah.