Skip to content

VersionBuild - Determine Version #2714

@ghost

Description

Describe the bug
##[error]SyntaxError: Unexpected end of JSON input
System.FormatException: Input string was not in a correct format.

Expected Behavior

VersionBuild to pass

Actual Behavior

image

[Test]
public void CanHandleContinuousDelivery()
{
var config = new Config
{
Branches =
{
{
"master", new BranchConfig
{
VersioningMode = VersioningMode.ContinuousDelivery
}
}
}
};
using var fixture = new EmptyRepositoryFixture();
fixture.Repository.MakeATaggedCommit("1.0.0");
fixture.Repository.MakeCommits(2);
fixture.AssertFullSemver("1.0.1+2", config);
}

Otherwise, please provide a link to a live example, or an unambiguous set of
steps to reproduce this bug.
-->

Context

Your Environment

Azure Devops

  • Version Used:
  • Operating System and version (Windows 10, Ubuntu 18.04):
  • Link to your project:
  • Link to your CI build (if appropriate):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions