From 62166a50d906fd8ff9a49590128ffc90d46f805c Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 30 Aug 2020 10:07:15 +0100 Subject: [PATCH] Move itch upload script. --- .travis.yml | 2 +- packaging/{itch/upload.sh => upload-itch.sh} | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) rename packaging/{itch/upload.sh => upload-itch.sh} (84%) diff --git a/.travis.yml b/.travis.yml index 6eaf32576a..75032e0da0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -75,7 +75,7 @@ before_deploy: - cd packaging - mkdir build - ./package-all.sh ${TRAVIS_TAG} ${PWD}/build/ - - cd itch && ./upload.sh ${TRAVIS_TAG} ${PWD}/build/ + - ./upload-itch.sh ${TRAVIS_TAG} ${PWD}/build/ deploy: provider: releases api_key: diff --git a/packaging/itch/upload.sh b/packaging/upload-itch.sh similarity index 84% rename from packaging/itch/upload.sh rename to packaging/upload-itch.sh index 2ef179784f..ca8afdaeb2 100755 --- a/packaging/itch/upload.sh +++ b/packaging/upload-itch.sh @@ -26,11 +26,13 @@ fi unzip butler-linux-amd64.zip chmod +x butler + ./butler -V ./butler login +./butler push "${BUILD_OUTPUT_DIR}/OpenRA-${GIT_TAG}-x64.exe" "openra/openra:win" --userversion-file ../VERSION +./butler push --fix-permissions "${BUILD_OUTPUT_DIR}/OpenRA-${GIT_TAG}.dmg" "openra/openra:osx" --userversion-file ../VERSION +./butler push --fix-permissions "${BUILD_OUTPUT_DIR}/OpenRA-Dune-2000-x86_64.AppImage" "openra/openra:linux-d2k" --userversion-file ../VERSION +./butler push --fix-permissions "${BUILD_OUTPUT_DIR}/OpenRA-Red-Alert-x86_64.AppImage" "openra/openra:linux-ra" --userversion-file ../VERSION +./butler push --fix-permissions "${BUILD_OUTPUT_DIR}/OpenRA-Tiberian-Dawn-x86_64.AppImage" "openra/openra:linux-td" --userversion-file ../VERSION -./butler push "${BUILD_OUTPUT_DIR}/OpenRA-${GIT_TAG}-x64.exe" "openra/openra:win" --userversion-file ../../VERSION -./butler push --fix-permissions "${BUILD_OUTPUT_DIR}/OpenRA-${GIT_TAG}.dmg" "openra/openra:osx" --userversion-file ../../VERSION -./butler push --fix-permissions "${BUILD_OUTPUT_DIR}/OpenRA-Dune-2000-x86_64.AppImage" "openra/openra:linux-d2k" --userversion-file ../../VERSION -./butler push --fix-permissions "${BUILD_OUTPUT_DIR}/OpenRA-Red-Alert-x86_64.AppImage" "openra/openra:linux-ra" --userversion-file ../../VERSION -./butler push --fix-permissions "${BUILD_OUTPUT_DIR}/OpenRA-Tiberian-Dawn-x86_64.AppImage" "openra/openra:linux-td" --userversion-file ../../VERSION +rm butler butler-linux-amd64.zip