Skip to content

GitFlow: Include commits in PreReleaseTag for release, hotfix and feature branches #323

@yannisgu

Description

@yannisgu

For release/hotfix branches currently the PreReleaseTag looks like this:

 -beta.1

and for feature-branches

  -feature-branch-name

The problem is that for every commit, the NuGet version will be the same. My proposition is to do the same as on the develop branch: Add the number of commits (build metadata) in the pre-release tag.

The change in the code will be trivial, but I want to hear your opinion, before I send a PR.

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