Skip to content

wrong number bumped on conventional-commits #3681

Closed Answered by HHobeck
mrt181 asked this question in Q&A
Discussion options

You must be logged in to vote

I'm confused what your scenario is. Does this happen with the beta version 6.0.0-beta.3 as well? I don't see any problems:

[Test]
public void __Just_A_Test__()
{
    var configuration = GitHubFlowConfigurationBuilder.New
        .WithBranch("main", _ => _.WithVersioningMode(VersioningMode.Mainline).WithIncrement(IncrementStrategy.None))
        .Build();
    using var fixture = new EmptyRepositoryFixture("main");

    fixture.MakeATaggedCommit("1.0.0");

    fixture.MakeACommit("+semver: Minor");

    // ✅ succeeds as expected
    fixture.AssertFullSemver("1.1.0", configuration);
}

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@HHobeck
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@HHobeck
Comment options

Answer selected by HHobeck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3678 on September 05, 2023 07:12.