Skip to content

Conversation

@ben51degrees
Copy link
Contributor

The GitVersion config now has 2 separate alpha branch configs.
One which is used if a pattern like version/0.0.0-description is found,
and the existing one if a pattern like version/0.0.0 is found.

Copy link
Collaborator

@pi-alexander-popel pi-alexander-popel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If they ever get a version branch with a -suffix, this will break repositories that have strict requirements for the versions format (like Python), and even those that don't might not sort the resulting version correctly (like Maven).

Maybe it's better to do this just in repositories that need it now, instead of globally. For an example see:
https://github.com/51Degrees/ip-intelligence-dotnet/blob/main/ci/get-next-package-version.ps1
https://github.com/51Degrees/ip-intelligence-dotnet/blob/main/GitVersion.yml

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants