Skip to content

Commit

Permalink
Travis test 4
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityfox committed Dec 6, 2015
1 parent fef4196 commit d0add87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setversion.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

if [ -n ${TRAVIS_TAG} ]
if [ ! -z ${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
Expand Down

0 comments on commit d0add87

Please sign in to comment.