You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This generated a changelog version header like this :
## [0.2.0] - 2021-10-27### Added- stuff
The patchPluginXML task failed with this exception
* What went wrong:
Execution failed for task ':patchPluginXml'.
> Error while evaluating property 'changeNotes' of task ':patchPluginXml'
> Failed to calculate the value of task ':patchPluginXml' property 'changeNotes'.
> org.jetbrains.changelog.exceptions.HeaderParseException: Header '[0.2] - 2021-10-27' does not contain version number.
By looking how the code works I identified the issue here
Without thinking much I created a version with this scheme
major.minor
pluginVerison = 0.1
This generated a changelog version header like this :
The
patchPluginXML
task failed with this exceptionBy looking how the code works I identified the issue here
gradle-changelog-plugin/src/main/kotlin/org/jetbrains/changelog/Changelog.kt
Lines 38 to 39 in f8f60be
By default if the header regex is semver
gradle-changelog-plugin/src/main/kotlin/org/jetbrains/changelog/ChangelogPluginExtension.kt
Lines 25 to 31 in f8f60be
gradle-changelog-plugin/src/main/kotlin/org/jetbrains/changelog/ChangelogPluginConstants.kt
Lines 38 to 40 in f8f60be
I suggest to rephrase the string in
HeaderParserException
to mention a mismatch between the actual version and theheaderParserRegex
.The text was updated successfully, but these errors were encountered: