Skip to content

Commit

Permalink
Delete leading v in tag name
Browse files Browse the repository at this point in the history
Change-Id: I16b13feed63feeb69e338419b2c5b0e1ae36b077
  • Loading branch information
kamaradclimber committed Jun 23, 2017
1 parent 6e005ba commit bdeea9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion patch_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
# this script will patch version.sbt to put the right version if we are building a tag

if [[ ! -z "$TRAVIS_TAG" ]]; then
echo "version in ThisBuild := \"$TRAVIS_TAG\"" > version.sbt
VERSION=$(echo $TRAVIS_TAG | sed 's/^v//')
echo "version in ThisBuild := \"$VERSION\"" > version.sbt
fi

0 comments on commit bdeea9a

Please sign in to comment.