diff options
author | James Rowe <jroweboy@gmail.com> | 2017-01-01 04:16:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-01 04:16:44 +0100 |
commit | bb396ed8fcc66afd2a70943cbd2a152328dbe0a8 (patch) | |
tree | c7d362d9fd0e43fc39460b8aed493621f71fd33d /.travis-upload.sh | |
parent | Merge pull request #2386 from bunnei/fix-bg-color (diff) | |
parent | Trying to make a consistent nightly versioning (diff) | |
download | yuzu-bb396ed8fcc66afd2a70943cbd2a152328dbe0a8.tar yuzu-bb396ed8fcc66afd2a70943cbd2a152328dbe0a8.tar.gz yuzu-bb396ed8fcc66afd2a70943cbd2a152328dbe0a8.tar.bz2 yuzu-bb396ed8fcc66afd2a70943cbd2a152328dbe0a8.tar.lz yuzu-bb396ed8fcc66afd2a70943cbd2a152328dbe0a8.tar.xz yuzu-bb396ed8fcc66afd2a70943cbd2a152328dbe0a8.tar.zst yuzu-bb396ed8fcc66afd2a70943cbd2a152328dbe0a8.zip |
Diffstat (limited to '.travis-upload.sh')
-rwxr-xr-x | .travis-upload.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.travis-upload.sh b/.travis-upload.sh index 2eeda4c50..9aed815d4 100755 --- a/.travis-upload.sh +++ b/.travis-upload.sh @@ -1,17 +1,16 @@ if [ "$TRAVIS_EVENT_TYPE" = "push" ]&&[ "$TRAVIS_BRANCH" = "master" ]; then GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`" GITREV="`git show -s --format='%h'`" + mkdir -p artifacts if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then - REV_NAME="citra-${GITDATE}-${GITREV}-linux-amd64" - UPLOAD_DIR="/citra/nightly/linux-amd64" + REV_NAME="citra-linux-${GITDATE}-${GITREV}" mkdir "$REV_NAME" cp build/src/citra/citra "$REV_NAME" cp build/src/citra_qt/citra-qt "$REV_NAME" elif [ "$TRAVIS_OS_NAME" = "osx" ]; then - REV_NAME="citra-${GITDATE}-${GITREV}-osx-amd64" - UPLOAD_DIR="/citra/nightly/osx-amd64" + REV_NAME="citra-osx-${GITDATE}-${GITREV}" mkdir "$REV_NAME" cp build/src/citra/Release/citra "$REV_NAME" @@ -121,4 +120,7 @@ EOL ARCHIVE_NAME="${REV_NAME}.tar.xz" tar -cJvf "$ARCHIVE_NAME" "$REV_NAME" + + # move the compiled archive into the artifacts directory to be uploaded by travis releases + mv "$ARCHIVE_NAME" artifacts/ fi |