Skip to content

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