citra-emu
/
citra
Archived
1
0
Fork 0

Merge pull request #2590 from jroweboy/mac-gzip

Use gzip instead of lzma on macOS releases
This commit is contained in:
Yuri Kunde Schlesner 2017-02-23 19:08:09 -08:00 committed by GitHub
commit 37b12c42b0
1 changed files with 3 additions and 2 deletions

View File

@ -5,12 +5,14 @@ if [ "$TRAVIS_EVENT_TYPE" = "push" ]&&[ "$TRAVIS_BRANCH" = "master" ]; then
if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
REV_NAME="citra-linux-${GITDATE}-${GITREV}" REV_NAME="citra-linux-${GITDATE}-${GITREV}"
ARCHIVE_NAME="${REV_NAME}.tar.xz"
mkdir "$REV_NAME" mkdir "$REV_NAME"
cp build/src/citra/citra "$REV_NAME" cp build/src/citra/citra "$REV_NAME"
cp build/src/citra_qt/citra-qt "$REV_NAME" cp build/src/citra_qt/citra-qt "$REV_NAME"
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
REV_NAME="citra-osx-${GITDATE}-${GITREV}" REV_NAME="citra-osx-${GITDATE}-${GITREV}"
ARCHIVE_NAME="${REV_NAME}.tar.gz"
mkdir "$REV_NAME" mkdir "$REV_NAME"
cp build/src/citra/Release/citra "$REV_NAME" cp build/src/citra/Release/citra "$REV_NAME"
@ -118,8 +120,7 @@ EOL
cp license.txt "$REV_NAME" cp license.txt "$REV_NAME"
cp README.md "$REV_NAME" cp README.md "$REV_NAME"
ARCHIVE_NAME="${REV_NAME}.tar.xz" tar -cavf "$ARCHIVE_NAME" "$REV_NAME"
tar -cJvf "$ARCHIVE_NAME" "$REV_NAME"
# move the compiled archive into the artifacts directory to be uploaded by travis releases # move the compiled archive into the artifacts directory to be uploaded by travis releases
mv "$ARCHIVE_NAME" artifacts/ mv "$ARCHIVE_NAME" artifacts/