This version finally introduces a new branch-based versioning mode, version_from_branch
, to support on-going releases. If enabled, the major and optionally minor version will always be taken from the branch, and only tags which match will be considered candidates. By default, any branch name format is allowed and will be used as the version so long as it ends with a major or major.minor version, e.g. release/v1
or release/1.2
or v1
. This is an advanced feature and should really only be needed if you maintaining ongoing updates for previous versions. Additional documentation and an expanded user guide coming soon. With this release use_branches
is deprecated and will be removed in v6.
Additionally, this release fixes a bug where prerelease mode was not working when bump each commit was enabled.