Semantic versioning for projects with release branches. The same as guess-next-dev (incrementing the pre-release or micro segment) however when on a release branch: a branch whose name (ignoring namespace) parses as a version that matches the most recent tag up to the minor segment. Otherwise if on a non-release branch, increments the minor segment and sets the micro segment to zero, then appends .devN
Apparently the “ignoring namespace” makes it work with our <major>.<minor>.x branch names
See https://setuptools-scm.readthedocs.io/en/latest/extending/#setuptools_scmversion_scheme:
Apparently the “ignoring namespace” makes it work with our
<major>.<minor>.x
branch namesI checked if the new check works: