Hands-on task
Bump the release's minor version
Release day starts with a version bump. /srv/billing/VERSION contains the current version in the X.Y.Z format. Write an executable script /usr/local/bin/bump-minor that increments minor (the middle number) by 1, resets patch to 0 and writes the result back to the same file. For example 2.3.7 → 2.4.0, 0.9.12 → 0.10.0.
- bash
- semver
- ifs
- arithmetic
- version bump