Skip to content

Commit

Permalink
auto updates and pi service stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
liamg committed Jun 19, 2019
1 parent 0fb74fe commit 051ae36
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@

set -e

if [[ $# -eq 0 ]]; then
git fetch --tags
version=`git describe --tags`
else
version="$1"
fi
version='branch'

if [[ "$version" == "" ]]; then
echo "Error: Cannot determine version"
exit 1
if [[ ! -z "$TRAVIS_TAG" ]]; then
version="${TRAVIS_TAG}"
fi

mkdir -p build
Expand Down

0 comments on commit 051ae36

Please sign in to comment.