Bumping the Version#
This project follows Semantic Versioning. To bump the version, use the alias bump-version.sh (see Preparing Your Development Environment). For example, if you want to create the next minor release, run:
Bumping the minor part#
$ ./devel/bump-version.sh minor
This script automates the versioning process with the following actions:
Validates that all required files and arguments are present and correctly formatted, ensuring the version string adheres to the MAJOR.MINOR.PATCH (Semantic Versioning) format.
Increments the version according to the SemVer rules:
major
: increments theMAJOR
number and resetsMINOR
andPATCH
to zero.minor
: increments theMINOR
number and resets thePATCH
part to zero.patch
: increments thePATCH
number.
It writes back the version and commits the change.