From 3f20e0c5a8b5a97ff24764bf1c36266ab2f37b8a Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Tue, 11 Apr 2017 00:10:20 +0300 Subject: [PATCH] Fix zip cmd --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index acfaf08906..df60cd4a67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -94,7 +94,7 @@ addons: after_success: - if [ "$COVERITY_SCAN_BRANCH" != 1 ] && [ "$TRAVIS_OS_NAME" = linux ]; then coveralls --extension .c --extension .cpp --extension .h; fi - - if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then zip rpcs3.zip ../bin/rpcs3; curl ${UPLOAD_URL}${TRAVIS_COMMIT}-${TRAVIS_BUILD_NUMBER}-${CC} --upload-file rpcs3.zip; fi + - if [ "$TRAVIS_BRANCH" = "master" ]; then zip -r9 rpcs3.zip bin; curl ${UPLOAD_URL}${TRAVIS_COMMIT:0:7}-${TRAVIS_BUILD_NUMBER}-${CC} --upload-file rpcs3.zip; fi deploy: provider: releases