(Photo by davidwithacamera)
We all like continuous deployment, but when it comes to publishing Ruby gems, crafting a new version can become a royal pain. Travis's Rubygems integration makes things easier, but you still have to push a new tag and write a changelog, and who has time for that?
Henry makes things really easy, as per Github flow, master is always considered deployable. As soon as the version number is changed and everything is pushed to Travis, once the tests pass (and they will, won't they?), Henry will push a new tag and an automatically generated Changelog (via the magic of github-changelog-generator). Assuming you have Travis set up with Rubygems integration, it will then build the latest tag, and publish it directly to Rubygems. Easy huh?
In your project directory, first run gem install henry
and henry bootstrap
and follow the onscreen prompts.
Then push up your changes, and sit back and relax, safe in the knowledge that you'll never forget to push a new gem version again.
Bug reports and pull requests are welcome on GitHub at https://github.com/theodi/henry. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.