Skip to content

[Feature] increment semver based on feature/x or bugfix/x branch being merged #3602

@tomqwpl

Description

@tomqwpl

I'm looking at gitversion and trying to understand how to best make use of it.
I can see that I can bump the semver in a number of ways, including using comments in commits.

It seems to me like using the fact that a feature/ or bugfix/ branch has been merged could also be a strategy?
That is, if "feature/xxx" is merged into develop, increment minor semver number. If "bugfix/xxx" is merged into develop, increment patch number.

I'd be interested to know whether that's a sensible idea or not as it would perhaps clarify whether my understanding of how it works is correct or not. On the face of it, gitversion seems simple, but the more I dig the more subtlety I find in terms of how to make effective use of it.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions