So there you are, making some awesome changes to your Gem. You create a pull request. It gets approved. You merge.
And then it dawns on you. You forgot to bump the version.
Your CI/CD starts to fail and panic strikes as you fumble about trying to make another pull request just to bump the version and save the day.
We’ve all been there. Updating your Ruby Gem version is such a trivial task that happens on every pull request. Yet still we forget.
The Application Tooling team at Simply Business has created Version Forget-Me-Not - an open source GitHub Action, for the sole purpose of never having to remember to bump the version again. Because life’s too short for that.
And you can install it easily from the GitHub marketplace to use with your own Ruby Gems!
Once installed, every time you make a pull request but forget to bump the version, Version Forget-Me-Not will check to see whether your Gem's version has been updated and stop you from merging your pull request if you've forgotten. It will look like this:
Forgot to update your Gem version? Version Forget-Me-Not will remind you.
As soon as you update the version, Version Forget-Me-Not will display a green tick, allowing you to merge:
This GitHub Action supports both the Gemspec and the version.rb file, so no matter how you manage your Gem’s version, Version Forget-Me-Not has got your back.
Installation is easy, just follow the instructions for Version Forget-Me-Not on the GitHub Marketplace.
If you have any suggestions or improvements to Version Forget-Me-Not, feel free to raise a pull request at the open source repository on GitHub. Your contributions are welcome!
All in all, the engineering teams at Simply Business use the Version Forget-Me-Not GitHub Action extensively to maintain our Gems. We hope you find it as useful as we do!
If you see a position that suits, why not apply today?Find out more
We create this content for general information purposes and it should not be taken as advice. Always take professional advice. Read our full disclaimer
6th Floor99 Gresham StreetLondonEC2V 7NG
Sol House29 St Katherine's StreetNorthamptonNN1 2QZ
© Copyright 2021 Simply Business. All Rights Reserved. Simply Business is a trading name of Xbridge Limited which is authorised and regulated by the Financial Conduct Authority (Financial Services Registration No: 313348). Xbridge Limited (No: 3967717) has its registered office at 6th Floor, 99 Gresham Street, London, EC2V 7NG.