Ensure your local workstation is configured to be able to Sign commits.
$ git checkout main
$ git pull origin main
Update version in lib/semian/version.rb
.
Check if there is required changes in README.md
.
Add line after ## [Unreleased]
in CHANGELOG.md
with new version.
Make sure all tests passed and gem could be build.
Check README.md
.
Commit changes and create a tag. Make sure commit and tag are signed.
Extract related content from CHANGELOG.md
for a tag message.
$ bundle install
$ export RELEASE_VERSION=0.x.y
$ git commit -a -S -m "Release $RELEASE_VERSION"
$ git tag -s "v$RELEASE_VERSION"
On your local machine again, push your commit and tag
$ git push origin main --follow-tags
- Shipit should kick off a build and release after new version detected.
- Check rubygems
- Create a new gem
$ bundle exec rake build build:checksum
- Create github release. Choose either
hub
orgh
.- Github CLi gh_release_create :
$ gh release create v$RELEASE_VERSION pkg/semian-$RELEASE_VERSION.gem checksums/semian-$RELEASE_VERSION.gem.sha512
- Hub:
$ hub release create -a pkg/semian-$RELEASE_VERSION.gem -a checksums/semian-$RELEASE_VERSION.gem.sha512 v$RELEASE_VERSION
- Github CLi gh_release_create :