-
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
sbt-git and sbt-native-packager #125
Comments
You could add date or timestamp to version in build definition e.g. val appVersion = "0.2" + System.currentTimeMilis().toString |
I've done it like this in
|
Thanks for sharing. If you figure out a way with sbt-git let me know. This would be even better. |
I’ve tried it with sbt-native-packager 0.7.0-M2 and sbt-git 0.6.2 and for me it just works as advertised? I’ve put this in my
If the head revision is not tagged the commit hash is appended to the version of the .deb, too. If it is tagged the version from the tag is used. |
I can reproduce what @hfs did. Take care that you don't have any |
hi guys,
for easier distribution and testing I would like to see the git commit SHA added to the debian version string. I added the sbt-git plugin but the deb version keeps untouched while the play:dist task builds a git-versioned zip file (so i assume the plugin itself is working). To push new deb archives i'll now have to change the version number which is a bit annoying for continues systems.
Martin
The text was updated successfully, but these errors were encountered: