summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Harting <539@idlegandalf.com>2016-07-21 18:28:35 +0200
committerGiovanni Harting <539@idlegandalf.com>2016-07-21 18:28:35 +0200
commit9a69e0c15adbc12ddc0bc8f49684565db90301c4 (patch)
tree2e0766072ba8b65a03c708a2c0e2e9d1f05f0e42
parent3251370335a3d77b8a38445700e47ba5b3f2bad6 (diff)
some other fixes
-rw-r--r--build.gradle3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 20c402c..efa347c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -43,7 +43,10 @@ task buildInfo {
def proc = cmd.execute()
proc.waitFor()
if (proc.exitValue() == 0) {
+ logger.info("Found tag for current version: ${proc.text.trim()}")
project.ext.tag = proc.text.trim()
+ } else {
+ logger.info("Could not find tag infos, assume snapshot build")
}
if (System.getenv().BUILD_NUMBER != null) {