Skip to content

Allow removing prereleases when generating a new batch #250

Closed

Description

@miniscruff

--remove-prereleases will delete any versions that include prerelease metadata according to semver. This only removes the generated version files and will have to do so reading the filenames. This should be passed into the batch command when combining all prereleases into one complete version.

Example: changie batch minor --include beta,candidates --remove-prereleases

Note if a release only includes metadata ( eg after a plus ) it is to be ignored. Example:

v1.2.3-rc1 # removed
v1.2.2+mac # kept

Part of #237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions