Skip to content

Commit

Permalink
Travis test 3
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityfox committed Dec 6, 2015
1 parent d19d68d commit fef4196
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fef4196

Please sign in to comment.