Skip to content

Not easy to set major, minor, patch of an existing version. #36

Description

@agentgt

The API makes it easy to increment a major,minor,patch but does not make it easy to replace any of those with an explicit amount.

That is I would expect the API to have something like:

Version.valueOf("1.0.0") .withPatch(2).toString() == "1.0.2"

And of course if you have build meta data that would be preserved as well and this is of course would be an immutable operation (ie creates another Version).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions