From fef4196369bf049816dce16df34d8e1e037d9c00 Mon Sep 17 00:00:00 2001 From: gravityfox Date: Sun, 6 Dec 2015 14:24:40 -0800 Subject: [PATCH] Travis test 3 --- setversion.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setversion.sh b/setversion.sh index b9de6b2..0226137 100644 --- a/setversion.sh +++ b/setversion.sh @@ -2,5 +2,8 @@ if [ -n ${TRAVIS_TAG} ] then + echo "This is a tagged commit! (Tag: ${TRAVIS_TAG}) Injecting version into main class..." sed -i.bak "s/\"SNAPSHOT\"/\"${TRAVIS_TAG/#v/}\"/" ./src/main/java/net/gravityfox/foxguard/FoxGuardMain.java +else + echo "This is not a tagged commit! Skipping injection..." fi \ No newline at end of file