concourse / semver-resource

automated semantic version bumping
Apache License 2.0
97 stars 105 forks source link

Wrong Doc for pre_without_version and build_without_version #135

Open guillaumBrisard opened 1 year ago

guillaumBrisard commented 1 year ago

Doc says :


pre_without_version: Optional. When bumping to a prerelease, drop the version if set to true. Examples:


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

Is that correct ? Or did I miss something ?