-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
checkVersion Task fails for 4-digit version numbers #479
Comments
The java-semver library throws an exception if a version does not match the criteria of a semantic version. A 4 digit number is not valid. I actually don't know how maven handles this internally. |
👍 For now I simply skipped the task. |
Hmm...maybe the tasks should be more isolated. At present the check task depends on checkVersion. |
Prevent stopping check Task if an exception happens during checkVersion execution. Print proper warning message if a version violates semantic versioning. Closes asciidoctor#479
Prevent stopping check Task if an exception happens during checkVersion execution. Print proper warning message if a version violates semantic versioning. Closes asciidoctor#479
Prevent stopping check Task if an exception happens during checkVersion execution. Print proper warning message if a version violates semantic versioning. Closes asciidoctor#479
When trying to build a release with a 4-digit version number like 1.5.4.1 the check version task fails with an exception:
The text was updated successfully, but these errors were encountered: