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:

  1. 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.

  1. Increments the version according to the SemVer rules:

    • major: increments the MAJOR number and resets MINOR and PATCH to zero.

    • minor: increments the MINOR number and resets the PATCH part to zero.

    • patch: increments the PATCH number.

  1. It writes back the version and commits the change.