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