diff options
Diffstat (limited to '.travis-upload.sh')
| -rw-r--r-- | .travis-upload.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis-upload.sh b/.travis-upload.sh index 4b9446a96..0904b646a 100644 --- a/.travis-upload.sh +++ b/.travis-upload.sh | |||
| @@ -6,7 +6,7 @@ if [ "$TRAVIS_BRANCH" = "master" ]; then | |||
| 6 | REV_NAME="citra-${GITDATE}-${GITREV}-linux-amd64" | 6 | REV_NAME="citra-${GITDATE}-${GITREV}-linux-amd64" |
| 7 | UPLOAD_DIR="/citra/nightly/linux-amd64" | 7 | UPLOAD_DIR="/citra/nightly/linux-amd64" |
| 8 | mkdir "$REV_NAME" | 8 | mkdir "$REV_NAME" |
| 9 | 9 | ||
| 10 | sudo apt-get -qq install lftp | 10 | sudo apt-get -qq install lftp |
| 11 | cp build/src/citra/citra "$REV_NAME" | 11 | cp build/src/citra/citra "$REV_NAME" |
| 12 | cp build/src/citra_qt/citra-qt "$REV_NAME" | 12 | cp build/src/citra_qt/citra-qt "$REV_NAME" |
| @@ -14,7 +14,7 @@ if [ "$TRAVIS_BRANCH" = "master" ]; then | |||
| 14 | REV_NAME="citra-${GITDATE}-${GITREV}-osx-amd64" | 14 | REV_NAME="citra-${GITDATE}-${GITREV}-osx-amd64" |
| 15 | UPLOAD_DIR="/citra/nightly/osx-amd64" | 15 | UPLOAD_DIR="/citra/nightly/osx-amd64" |
| 16 | mkdir "$REV_NAME" | 16 | mkdir "$REV_NAME" |
| 17 | 17 | ||
| 18 | brew install lftp | 18 | brew install lftp |
| 19 | cp build/src/citra/Release/citra "$REV_NAME" | 19 | cp build/src/citra/Release/citra "$REV_NAME" |
| 20 | cp -r build/src/citra_qt/Release/citra-qt.app "$REV_NAME" | 20 | cp -r build/src/citra_qt/Release/citra-qt.app "$REV_NAME" |
| @@ -22,7 +22,7 @@ if [ "$TRAVIS_BRANCH" = "master" ]; then | |||
| 22 | # move qt libs into app bundle for deployment | 22 | # move qt libs into app bundle for deployment |
| 23 | $(brew --prefix)/opt/qt5/bin/macdeployqt "${REV_NAME}/citra-qt.app" | 23 | $(brew --prefix)/opt/qt5/bin/macdeployqt "${REV_NAME}/citra-qt.app" |
| 24 | fi | 24 | fi |
| 25 | 25 | ||
| 26 | ARCHIVE_NAME="${REV_NAME}.tar.xz" | 26 | ARCHIVE_NAME="${REV_NAME}.tar.xz" |
| 27 | tar -cJvf "$ARCHIVE_NAME" "$REV_NAME" | 27 | tar -cJvf "$ARCHIVE_NAME" "$REV_NAME" |
| 28 | lftp -c "open -u citra-builds,$BUILD_PASSWORD sftp://builds.citra-emu.org; put -O '$UPLOAD_DIR' '$ARCHIVE_NAME'" | 28 | lftp -c "open -u citra-builds,$BUILD_PASSWORD sftp://builds.citra-emu.org; put -O '$UPLOAD_DIR' '$ARCHIVE_NAME'" |