Skip to content

Wrong Doc for pre_without_version and build_without_version #135

@guillaumBrisard

Description

@guillaumBrisard

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions