diff --git a/.travis.yml b/.travis.yml index 4586168709..5a23b0dcce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,10 @@ script: - "./gradlew test" - "./gradlew desktop:dist -Pbuildversion=${TRAVIS_TAG:1}" - "./gradlew server:dist -Pbuildversion=${TRAVIS_TAG:1}" +- git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds +- cd MindustryBuilds +- git tag ${TRAVIS_BUILD} +- git push origin ${TRAVIS_BUILD} deploy: - provider: releases @@ -31,15 +35,6 @@ deploy: on: repo: Anuken/Mindustry tags: true - - provider: script - script: - - git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds - - cd MindustryBuilds - - git tag ${TRAVIS_BUILD} - - git push origin ${TRAVIS_BUILD} - on: - repo: Anuken/Mindustry - tags: false env: global: