From 7b0c07533bc18d3d6cf391f12a02f1ead790fba7 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 29 Aug 2019 16:52:52 -0400 Subject: [PATCH] Updated travis.yml --- .travis.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) 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: