Add GPL license.txt and README.md to builds

This commit is contained in:
Jannik Vogel 2016-06-21 14:19:46 +02:00
parent b836ae5c6a
commit ede028fe4d
3 changed files with 10 additions and 4 deletions

View file

@ -25,6 +25,10 @@ if [ "$TRAVIS_BRANCH" = "master" ]; then
dylibbundler -b -x "${REV_NAME}/citra" -cd -d "${REV_NAME}/libs" -p "@executable_path/libs/"
fi
# Copy documentation
cp license.txt "$REV_NAME"
cp README.md "$REV_NAME"
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'"