-
Couldn't load subscription status.
- Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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:
Lines 252 to 257 in 3b773c3
| 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
Labels
enhancementNew feature or requestNew feature or request