This is the repository for Buildnumber, bn
program.
It manages your version number using semanitic versioning (major.minor.revision), via Buildnumber
file.
Perhaps invoke it from your Makefile
before you publish your code and you have a standard way of managing your versions.
You can call it directly, for example
bn command (-f FILENAME)
bn init
A Buildnumber
file will be created. This is the file that will store the version and be modified by the bn
command from now on.
bn get
bn revision
bn minor
bn major
Now your program has a Buildnumber
file, you can integrate the buildnumber into your CI/CD and client as you see fit.
To see an example of integrating with go programs, try bn help-go