diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-24 04:08:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-24 04:08:09 +0100 |
commit | 37b12c42b03299c0b7ceb5c3c0affab6d087d986 (patch) | |
tree | 71017dfca7602775c82ff3478ed2bdbcd4cf856a /.travis-upload.sh | |
parent | Use QFileSystemWatcher to reload the game list when a change is detected. (#2555) (diff) | |
parent | Revert use gzip for linux (diff) | |
download | yuzu-37b12c42b03299c0b7ceb5c3c0affab6d087d986.tar yuzu-37b12c42b03299c0b7ceb5c3c0affab6d087d986.tar.gz yuzu-37b12c42b03299c0b7ceb5c3c0affab6d087d986.tar.bz2 yuzu-37b12c42b03299c0b7ceb5c3c0affab6d087d986.tar.lz yuzu-37b12c42b03299c0b7ceb5c3c0affab6d087d986.tar.xz yuzu-37b12c42b03299c0b7ceb5c3c0affab6d087d986.tar.zst yuzu-37b12c42b03299c0b7ceb5c3c0affab6d087d986.zip |
Diffstat (limited to '.travis-upload.sh')
-rwxr-xr-x | .travis-upload.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis-upload.sh b/.travis-upload.sh index 9aed815d4..262259678 100755 --- a/.travis-upload.sh +++ b/.travis-upload.sh @@ -5,12 +5,14 @@ if [ "$TRAVIS_EVENT_TYPE" = "push" ]&&[ "$TRAVIS_BRANCH" = "master" ]; then if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then REV_NAME="citra-linux-${GITDATE}-${GITREV}" + ARCHIVE_NAME="${REV_NAME}.tar.xz" mkdir "$REV_NAME" cp build/src/citra/citra "$REV_NAME" cp build/src/citra_qt/citra-qt "$REV_NAME" elif [ "$TRAVIS_OS_NAME" = "osx" ]; then REV_NAME="citra-osx-${GITDATE}-${GITREV}" + ARCHIVE_NAME="${REV_NAME}.tar.gz" mkdir "$REV_NAME" cp build/src/citra/Release/citra "$REV_NAME" @@ -118,8 +120,7 @@ EOL cp license.txt "$REV_NAME" cp README.md "$REV_NAME" - ARCHIVE_NAME="${REV_NAME}.tar.xz" - tar -cJvf "$ARCHIVE_NAME" "$REV_NAME" + tar -cavf "$ARCHIVE_NAME" "$REV_NAME" # move the compiled archive into the artifacts directory to be uploaded by travis releases mv "$ARCHIVE_NAME" artifacts/ |