summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle5
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