-
Notifications
You must be signed in to change notification settings - Fork 443
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
Support -SNAPSHOT versions when generating RPMs by default #971
Comments
Thanks for your feature request @keirlawson . If you have time and motivation to add this feature, I'm happy to give you some guidance on this. It should be pretty straightforward. |
Yep, should be able to carve out some time next week, pointers appreciated! |
Awesome :) As you pointed out the The responsbile line is here: https://github.com/sbt/sbt-native-packager/blob/master/src/main/scala/com/typesafe/sbt/packager/rpm/RpmPlugin.scala#L108 |
Have submitted a PR for master, should I also create one for the stable branch (1.1.x?) or is a stable release of 1.2.0 imminent? |
I'll plan to release the 1.2.0 this week 😊 |
Expected behaviour
Running
rpm:packageBin
with a version of 1.0.0-SNAPSHOT produces an rpm with name myapp-1.0.0-SNAPSHOT.rpmActual behaviour
Running
rpm:packageBin
with a version of 1.0.0-SNAPSHOT produces a stack trace as hyphens are not supported in RPM versionsInformation
Using version 1.1.5 with SBT 0.13.5.2 on Fedora.
It is possible to work round this by manually setting
version in Rpm
andrpmRelease
, however it would be nice if the default behaviour was to do this automatically, as the Maven RPM plugin does.The text was updated successfully, but these errors were encountered: