Bumpster
Period: Since March 2023
A command-line tool that helps developers prepare and publish project releases through Git.
A release in one command
Every release involves updating version files, preparing branches and creating a tag that identifies the released code. Done by hand, these steps can drift apart: the tag may point to the wrong commit or the application may report an old version. Bumpster brings the steps together, checks the starting state and shows the release result.
Choose the type of change: patch for a correction, minor for a new compatible feature, or major for a compatibility break. One command updates the version, creates a version commit and an annotated tag, then publishes the matching branches and tag. Branch names and project checks are configurable, so the workflow can serve different applications.
A small fix in Berem
Berem is an application for shared shopping lists. Its account panel needed a touch-scrolling fix. A small correction like this is a patch release: the last part of the version changes, from 0.1.31 to 0.1.32. Here is how Bumpster prepares that update for release.
bumpster --patch- Check Git state
A clean working directory, matching branches and version sources.
- Update the version
VERSION and package.json: 0.1.31 → 0.1.32.
- Record the release
A version commit and the v0.1.32 tag.
- Publish together
dev, main and v0.1.32 are sent as one set.
- Return to work
Back on dev, ready for the next change.
The version, commit and tag now agree. Berem’s automated build and delivery pipeline then prepares the application and sends the update to users.