Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Doc for pre_without_version and build_without_version #135

Open
guillaumBrisard opened this issue Sep 19, 2022 · 0 comments
Open

Wrong Doc for pre_without_version and build_without_version #135

guillaumBrisard opened this issue Sep 19, 2022 · 0 comments

Comments

@guillaumBrisard
Copy link

Doc says :


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

Is that correct ? Or did I miss something ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant