Skip to content

Commit 87834e3

Browse files
committed
* add TAG recognition in version builder code
1 parent 83614c8 commit 87834e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ subprojects {
4242
apply plugin: 'propdeps-eclipse'
4343
apply plugin: "com.jfrog.bintray"
4444

45-
def releaseVersion = System.properties.RELEASE_VERSION
46-
version = releaseVersion ? releaseVersion : PROJECT_VERSION + '-' + new SimpleDateFormat('yyyy-MM-dd\'T\'HH-mm-ss').format(new Date())
45+
version = System.env.TRAVIS_TAG ? PROJECT_VERSION : PROJECT_VERSION + '-' + new SimpleDateFormat('yyyy-MM-dd\'T\'HH-mm-ss').format(new Date())
4746
group = PROJECT_GROUP
4847

4948
repositories {

0 commit comments

Comments
 (0)