bumpversion.mk adds a command called make bumpversion (GNU Make
only†). When run, it gives you a four step flow:
If you don't want to use the GUI or don't have dialog command, you may
alternatively run one of:
make bumppatchversionmake bumpmidversionmake bumpmajorversionRELNO=beta1 make bumprelnoversion
All of these commands have git_ versions, which by default just print on the
console Git commands to run. If you get used enough to make bumpversion, you
can run them with GITAUTOEXEC=1 in your shell's environment.
† Also needs GNU bash as its $SHELL.
On first run, a file called .env is created containing:
VERSION=0.0.1While a file called .version is created containing:
0.0.1
You'll have to work these into whatever build system you use. :-)
See playsong.bash for an example project that uses this.
Also, this README is built with bumpversion.mk.




