From 54685b03160279242c51288a306f332c07c82625 Mon Sep 17 00:00:00 2001 From: Spacelord Date: Tue, 31 Dec 2019 00:55:00 +0100 Subject: Diversify automated deploy per host OS --- .travis-ci.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis-ci.sh b/.travis-ci.sh index 593b254..a50398b 100644 --- a/.travis-ci.sh +++ b/.travis-ci.sh @@ -88,7 +88,7 @@ elif [[ $TASK = 'windows' ]]; then cp -r ./configs ./deployment/ cd ./deployment zip -r "./midimonster-$(git describe)-windows.zip" "./" - rm -v !("*.zip") + rm -v !(*.zip) fi @@ -107,7 +107,7 @@ if [ "$(git describe)" == "$(git describe --abbrev=0)" ]; then cp ./backends/*.md ./deployment/docs/ cp -r ./configs ./deployment/ cd ./deployment - tar czf "midimonster-$(git describe)-linux64.tgz" * + tar czf "midimonster-$(git describe)-$TRAVIS_OS_NAME.tgz" * rm -v !("*.tgz") fi -- cgit v1.2.3