Skip to content

Issue-2002 (wrong calculation of pre-release version) #2003

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 3, 2020

Conversation

pi3k14
Copy link

@pi3k14 pi3k14 commented Dec 20, 2019

Created unit test

using var fixture = new EmptyRepositoryFixture();
fixture.Repository.MakeACommit();
fixture.BranchTo("develop");
fixture.MakeATaggedCommit("1.0.0-alpha.3"); // manual bump version
fixture.MakeACommit();
fixture.MakeACommit();
fixture.AssertFullSemver("1.0.0-alpha.5");

Fixes #2002.

@asbjornu
Copy link
Member

asbjornu commented Jan 3, 2020

Thank you so much for your contributions, @pi3k14! 🙏

@jetersen
Copy link
Contributor

jetersen commented Jan 3, 2020

I would love to test the prerelase, yet publish failed: https://dev.azure.com/GitTools/GitVersion/_build/results?buildId=1595&view=results
Edit: seems like it managed to publish anyhow

@arturcic arturcic added this to the 5.1.4 milestone Jan 7, 2020
@arturcic arturcic added the bug label Jan 7, 2020
@pi3k14 pi3k14 deleted the issue-2002 branch February 4, 2020 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong calculation of pre-release when develop tagged
4 participants