diff --git a/.travis.yml b/.travis.yml index 35cb64152a..f3b61579ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,7 +56,8 @@ before_deploy: - mkdir pics - curl --location --retry 5 --output 'ygopro-images-zh-CN.zip' https://github.com/mycard/ygopro-images/releases/download/latest/ygopro-images-zh-CN.zip - unzip -q -d pics ygopro-images-zh-CN.zip - - tar -Jcf ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz --exclude=ygopro-lite* ygopro ygopro.app LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics locales + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then tar -Jcf ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz ygopro.app LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics locales; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar -Jcf ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz ygopro LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics locales; fi deploy: provider: releases file: