We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd4ee2a commit 9b2ff7fCopy full SHA for 9b2ff7f
src/GitVersion.Core.Tests/IntegrationTests/DevelopScenarios.cs
@@ -556,4 +556,17 @@ public void PreventDecrementationOfVersionsOnTheMainBranch()
556
// ✅ succeeds as expected
557
fixture.AssertFullSemver("1.0.0", configurationBuilder.Build());
558
}
559
+
560
+ [Test]
561
+ public void ShouldProvideTheCorrectVersionEvenIfPreReleaseLabelExistsInTheGitTag()
562
+ {
563
+ using (var fixture = new EmptyRepositoryFixture())
564
565
+ fixture.Repository.MakeACommit();
566
+ fixture.ApplyTag("1.0.0-oreo.1");
567
+ fixture.BranchTo("develop");
568
569
+ fixture.AssertFullSemver("1.1.0-alpha.1");
570
+ }
571
572
0 commit comments