summaryrefslogtreecommitdiffstats
path: root/.travis-upload.sh
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2017-02-25 22:02:46 +0100
committerJames Rowe <jroweboy@gmail.com>2017-02-25 22:02:46 +0100
commitbf325d3859bb5f63092e18b122e38842b6ace6c7 (patch)
tree007e809e66bbd3833aa5e263e515e8071697fecc /.travis-upload.sh
parentMerge pull request #2569 from wwylele/wrap-unwrap (diff)
downloadyuzu-bf325d3859bb5f63092e18b122e38842b6ace6c7.tar
yuzu-bf325d3859bb5f63092e18b122e38842b6ace6c7.tar.gz
yuzu-bf325d3859bb5f63092e18b122e38842b6ace6c7.tar.bz2
yuzu-bf325d3859bb5f63092e18b122e38842b6ace6c7.tar.lz
yuzu-bf325d3859bb5f63092e18b122e38842b6ace6c7.tar.xz
yuzu-bf325d3859bb5f63092e18b122e38842b6ace6c7.tar.zst
yuzu-bf325d3859bb5f63092e18b122e38842b6ace6c7.zip
Diffstat (limited to '.travis-upload.sh')
-rwxr-xr-x.travis-upload.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis-upload.sh b/.travis-upload.sh
index 262259678..2cc968298 100755
--- a/.travis-upload.sh
+++ b/.travis-upload.sh
@@ -6,6 +6,7 @@ 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"
+ COMPRESSION_FLAGS="-cJvf"
mkdir "$REV_NAME"
cp build/src/citra/citra "$REV_NAME"
@@ -13,6 +14,7 @@ if [ "$TRAVIS_EVENT_TYPE" = "push" ]&&[ "$TRAVIS_BRANCH" = "master" ]; then
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
REV_NAME="citra-osx-${GITDATE}-${GITREV}"
ARCHIVE_NAME="${REV_NAME}.tar.gz"
+ COMPRESSION_FLAGS="-czvf"
mkdir "$REV_NAME"
cp build/src/citra/Release/citra "$REV_NAME"
@@ -120,7 +122,7 @@ EOL
cp license.txt "$REV_NAME"
cp README.md "$REV_NAME"
- tar -cavf "$ARCHIVE_NAME" "$REV_NAME"
+ tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$REV_NAME"
# move the compiled archive into the artifacts directory to be uploaded by travis releases
mv "$ARCHIVE_NAME" artifacts/