This commit is contained in:
Anuken 2019-09-12 17:45:53 -04:00
parent 19f888061f
commit 5c3fc2a6ba

View File

@ -10,8 +10,7 @@ script:
- git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds - git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds
- cd ../MindustryBuilds - cd ../MindustryBuilds
- echo ${TRAVIS_BUILD_NUMBER} > version.txt - echo ${TRAVIS_BUILD_NUMBER} > version.txt
- TEST_TAG=v9999 - if [ -z "$TRAVIS_TAG" ]; then echo versionName=4-fdroid-${TRAVIS_TAG}$'\n'versionCode=${TRAVIS_TAG:1} > version_fdroid.txt; fi
- echo versionName=4-fdroid-${TEST_TAG}$'\n'versionCode=${TEST_TAG:1} > version_fdroid.txt
- git add . - git add .
- git commit -m "Updating to build ${TRAVIS_BUILD_NUMBER}" - git commit -m "Updating to build ${TRAVIS_BUILD_NUMBER}"
- git tag ${TRAVIS_BUILD_NUMBER} - git tag ${TRAVIS_BUILD_NUMBER}