diff --git a/.travis.yml b/.travis.yml index e313c804be..4586168709 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,20 +31,15 @@ deploy: on: repo: Anuken/Mindustry tags: true - - provider: releases - script: - - "./gradlew desktop:dist -Pbuildversion=${TRAVIS_BUILD_NUMBER}" - - "./gradlew server:dist -Pbuildversion=${TRAVIS_BUILD_NUMBER}" - - "./gradlew android:assembleDebug -Pbuildversion=${TRAVIS_BUILD_NUMBER}" + - 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/MindustryBuilds + repo: Anuken/Mindustry tags: false - draft: true - api_key: - secure: Cv5wFtWt62/A24EvSEQvMow7gKPbZ3oATEFPuSghhB2TQz1dA40Zee3Qvk4LFlpLrhYo4K0ZSczCZRGpR+hCd8+Dpww52bheYEvWuh3ZQfvu/fXtEx2j5PwP1qMpmIgSxETV/gkD7l9FImdh0VzktYiAvQfmi0bEocG9/D4QwjFpNat7iwBdcMiw1MvAygpdIWRsjiw0RKlB2mWarmoHhQ7Gu7qlU3j50uaEvcrtmU0pBUPggNQwQRv32i9NPvNFxrqqlUjDLIS8JFea99zCkp8BwYqbEvBIMzd+Qip1/stLJJA3+cDUClbsDtg8rAVetzpOrdLEEBmqShFe5MDl2yEHcsgpN9CFsyTaUfvB3P3rVjizvycMm42IsUkXQiarm5xTQ/TIA8Rd8AHiSKuweNCg1Fd5SFaRtKy8JVLXuxyfUccmyje6hhz2L4lS2Wfj3mAG7sqZUCXhWP79EKdGkiPOjKv4CwXEKmuH3BMVqPlNUZJr9Eg3sV1FG0h2l+MVOOnR635qdUbb49sYojYxVruMLX0BH1c4ZCu230m8CUoWA1Em1QNI75ya7+9Y5T6AsgWDVpBvdUo9fWNbdp+VQ0GskFQsJD5wtnxbcbHeFiERAgGBm7z6qt9u9LrQpBH+dsW52ADvYsu3L4nQEa+sdMHwTTwmGY+iUvsxu0DqxGg= - file: - - desktop/build/libs/Mindustry.jar - - server/build/libs/server-release.jar env: global: