|
|
|
@ -14,7 +14,6 @@ if [ "$TRAVIS_EVENT_TYPE" = "push" ]&&[ "$TRAVIS_BRANCH" = "master" ]; then
|
|
|
|
|
UPLOAD_DIR="/citra/nightly/osx-amd64"
|
|
|
|
|
mkdir "$REV_NAME"
|
|
|
|
|
|
|
|
|
|
brew install lftp
|
|
|
|
|
cp build/src/citra/Release/citra "$REV_NAME"
|
|
|
|
|
cp -r build/src/citra_qt/Release/citra-qt.app "$REV_NAME"
|
|
|
|
|
|
|
|
|
@ -122,5 +121,4 @@ EOL
|
|
|
|
|
|
|
|
|
|
ARCHIVE_NAME="${REV_NAME}.tar.xz"
|
|
|
|
|
tar -cJvf "$ARCHIVE_NAME" "$REV_NAME"
|
|
|
|
|
lftp -c "open -u citra-builds,$BUILD_PASSWORD sftp://builds.citra-emu.org; set sftp:auto-confirm yes; put -O '$UPLOAD_DIR' '$ARCHIVE_NAME'"
|
|
|
|
|
fi
|
|
|
|
|