Skip to content

Allow the version token to be a link #21

@FRodrigues-BrandenPT

Description

@FRodrigues-BrandenPT

Hello,
In my project instead of using a simple [1.0.0] - 2021-04-06 we use [1.0.0](#100---2021-04-06) - 2021-04-06 (to quickly focus on the paragraph version and to be more pretty).
But because you only check for "] - " to end the parsing of the version then in my changelogs the changelogCheck is going to always throw the error below:

Preconditions.checkArgument(line.startsWith(VERSION_BEGIN));
int versionEnd = line.indexOf("] - ");
if (versionEnd == -1) {
parser.addError(line.baseLineNumberStart(), "'] - ' is missing from the expected '## [x.y.z] - yyyy-mm-dd'");
return null;
}

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions