Then bumpversion release always removes the suffix and bumpversion major, bumpversion minor and bumpversion patch always add it. In order to do a major or minor release 2 bumpversion commands can be chained then:
bumpversion release
bumpversion major/bumpversion minor
We should be able to use this configuration for bumpversion to properly work with a
-snapshot
suffix without the need for semver:Then
bumpversion release
always removes the suffix andbumpversion major
,bumpversion minor
andbumpversion patch
always add it. In order to do a major or minor release 2 bumpversion commands can be chained then: