aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpacien2019-03-29 18:24:50 +0100
committerpacien2019-03-29 18:24:50 +0100
commitf59f8e6088f93ab4a4cb8655522eadf27181060a (patch)
tree26d82426bcafb66839d6ce069fb4ba1848bc69a4
parent58b588129b2ab4ccb3ba84e395524e2d07d0ff08 (diff)
downloadjava-lemonad-f59f8e6088f93ab4a4cb8655522eadf27181060a.tar.gz
read version from env
-rw-r--r--publish.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/publish.gradle b/publish.gradle
index ff48c02..c03b070 100644
--- a/publish.gradle
+++ b/publish.gradle
@@ -19,7 +19,7 @@
19apply plugin: 'maven' 19apply plugin: 'maven'
20 20
21group 'org.pacien' 21group 'org.pacien'
22version '1.0-SNAPSHOT' 22version System.getenv('VERSION') ?: '1.0-SNAPSHOT'
23 23
24task sourcesJar(type: Jar, dependsOn: classes) { 24task sourcesJar(type: Jar, dependsOn: classes) {
25 classifier = 'sources' 25 classifier = 'sources'