Skip to content

Generate the 'next' version for a changelog with an Unreleased section #3

Open
@baronfel

Description

@baronfel

I want to add a concept of 'the next prerelease version if there's an unreleased section', so that folks get a sane auto-generated version number when they do local builds. Logic would be something like:

  • take the unreleased segment
  • take the last release entry
  • check the changes in the unreleased segment to determine what kind of bump (similar to what I created in FsAutoComplete)
  • do that bump, but with a prerelease segment of -alpha.<COUNTER>, where counter is determined by the number of lines of changes in the unreleased portion overall. idea being that each PR or commit would map to a single change line in the changelog, so you'd have a minimal amount of traceability out of the box.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions