You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to reproduce this issue in azure devops without success. The following integration test proofs your scenario and has been executed with the code base of 6.0.0-beta.7 without any problems:
[Test]publicvoidJustATest(){varconfiguration= TrunkBasedConfigurationBuilder.New.Build();usingvarfixture=new EmptyRepositoryFixture("main");
fixture.MakeACommit("A");// ✅ succeeds as expected
fixture.AssertFullSemver("0.0.1", configuration);
fixture.ApplyTag("0.1.0");for(inti=0;i<10;i++) fixture.MakeACommit();// ✅ succeeds as expected
fixture.AssertFullSemver("0.1.10", configuration);}
Could you please provide a repository or analyze your scenario in more detail?
Prerequisites
GitVersion package
gittools/actions
GitVersion version
6.0.0-beta.7
Operating system
N/A
What are you seeing?
Using GitVersion on a GitHub action with workflow
TrunkBased/v1
the version after 0.1.9.0 is 0.1.0.0What is expected?
I am expecting the version after
0.1.9.0
would be0.1.10.0
Steps to Reproduce
I am using GitVersion on a GitHub action as follows:
And the
gitversion.yml
is simply:I created the tag
v0.1.0
and pushed a few commits.The version was incremented as follows:
But when it reaches
0.1.9.0
the next commit gets the version0.1.0.0
.The text was updated successfully, but these errors were encountered: