From 0cd73135239d104322c571e0bbb05b21c4da649d Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 12 Sep 2019 17:48:41 -0400 Subject: [PATCH] 5 --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 12f085c1c1..04bafec18e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,8 @@ script: - git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds - cd ../MindustryBuilds - echo ${TRAVIS_BUILD_NUMBER} > version.txt -- if [ -z "$TRAVIS_TAG" ]; then echo versionName=4-fdroid-${TRAVIS_TAG}$'\n'versionCode=${TRAVIS_TAG:1} > version_fdroid.txt; fi +- echo ${TRAVIS_TAG} +- if [ -z "${TRAVIS_TAG}" ]; then echo versionName=4-fdroid-${TRAVIS_TAG}$'\n'versionCode=${TRAVIS_TAG:1} > version_fdroid.txt; fi - git add . - git commit -m "Updating to build ${TRAVIS_BUILD_NUMBER}" - git tag ${TRAVIS_BUILD_NUMBER}