-
Notifications
You must be signed in to change notification settings - Fork 1
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
Version having x.x.x-SNAPSHOT or similar make the build fail #2
Comments
Do you propose just to remove the hyphens, e.g. to make |
I was more thinking about truncate the characters from the colon or hyphen until the end to avoid that annoying failure, as it seem the safest way to me.
|
https://wiki.archlinux.org/index.php/Arch_packaging_standards |
OK, the default for |
In fact it seem that ONLY periods are accepted in |
Not sure if I understand the problem. If one wants |
The version come from the Maven POM I'm just reporting the issue, as i can fix it with some more code added while keeping the main version unchanged. |
Just trying to understand the problem and the proposals. OK, so you specify |
Arrrgh...my bad. I didn't test to use the default version value 😞 Thank you for having pointed me to the more easy fix 😉 |
Nope, the default version So an other alternative could be to use In fact, as we have something like that That was my 2 cents. |
Arch Linux documentation seem really be sparse and given piece by piece dependant where you take it: |
OK, I'll take a look. |
As you suggested something like The fact to have only major and minor version will make the repositories artifact resolver don't see any difference while the project version 0.0.x will push update. |
Currently, the default is: So, if your project's version is In any case, it is all up to the user. For example, in more complicated scenarios |
pac/pac-core/src/main/java/com/github/gino0631/pac/PackageBuilder.java
Line 127 in fbb0dcc
Of course manual editing can solve it but i think that a better version handling should be prefered, like automatic truncating.
The text was updated successfully, but these errors were encountered: