pre_without_version: Optional. When bumping to a prerelease, drop the version if set to true. Examples:
Major version bump: version file = 1.2.4-SNAPSHOT, release version = 2.0.0
Minor version bump: version file = 1.2.4-SNAPSHOT, release version = 1.3.0
Promote snapshot: version file = 1.2.4-SNAPSHOT, release version = 1.2.4
But to achieve this, it's just a bump major, or minor or patch, no ?
With my test pre_without_version and build_without_version just remove the number behind the pre or build, for examples:
pre_without_version: false and pre: foo will result in a semver of x.y.z-foo.<number>pre_without_version: true and pre: foo will result in a semver of x.y.z-foo
Doc says :
pre_without_version
: Optional. When bumping to a prerelease, drop the version if set totrue
. Examples:But to achieve this, it's just a bump major, or minor or patch, no ?
With my test
pre_without_version
andbuild_without_version
just remove the number behind thepre
orbuild
, for examples:pre_without_version: false
andpre: foo
will result in a semver ofx.y.z-foo.<number>
pre_without_version: true
andpre: foo
will result in a semver ofx.y.z-foo
Is that correct ? Or did I miss something ?