diff options
author | Yves Fischer <yvesf@cern.ch> | 2016-01-30 20:48:37 +0100 |
---|---|---|
committer | Yves Fischer <yvesf@cern.ch> | 2016-01-30 20:48:37 +0100 |
commit | 17e119cfd0329bb9364a8dee886a2a3f7bc8eaba (patch) | |
tree | c047204bf340c004ea0bdd905ebe290b5bc0523f | |
parent | 72178d14be8e2b5064cbb29f6efeb50bf10ab71c (diff) | |
download | debian-packages-17e119cfd0329bb9364a8dee886a2a3f7bc8eaba.tar.gz debian-packages-17e119cfd0329bb9364a8dee886a2a3f7bc8eaba.zip |
correctly set the ospackage version
-rw-r--r-- | build.gradle | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 23fd73c..75f4766 100644 --- a/build.gradle +++ b/build.gradle @@ -64,7 +64,6 @@ subprojects { classpath: configurations.sshAntTask.asPath) ospackage { - version = "${project.version}-${new Date().format("yyyyMMdd-HHmmss")}" user = 'root' } @@ -81,4 +80,8 @@ subprojects { } upload.group = 'build' upload.dependsOn(buildDeb) + + project.afterEvaluate { + ospackage.version = "${project.version}-${new Date().format("yyyyMMdd-HHmmss")}" + } }
\ No newline at end of file |