Ensure commits are always signed: git config commit.gpgsign true
The gem signing private key should exist at ~/.ssh/gem-private_key.pem (see gemspec).
Double check the CHANGELOG reflects all commits since last version and all authors are included.
-
Decide on the new version number as per semver, e.g. 1.0.1
-
Add the new version CHANGELOG
-
Update wisper/version.rb (
Wisper::VERSION) -
Commit and Tag
You should be prompted for a GPG password as all commits should be signed.
git commit -m 'v1.0.1'
git push origin master
- Tag and push
git tag -a 'v1.0.1' -m 'v1.0.1'
git push --tags
Full docs: https://guides.rubygems.org/publishing/
gem build wisper.gemspec --output=pkg/wisper.gem
You should be prompted for the gem signing key password.
Last chance to abort before the gem becomes public.
You will need a 2FA code when signing in.
gem signin
gem push pkg/wisper.gem
Post on Twitter.