]> granicus.if.org Git - openjpeg/commitdiff
cpack only on tag commit
authorAntonin Descampe <antonin@gmail.com>
Sun, 15 May 2016 14:52:17 +0000 (16:52 +0200)
committerAntonin Descampe <antonin@gmail.com>
Sun, 15 May 2016 14:52:17 +0000 (16:52 +0200)
tools/travis-ci/run.sh

index 9bbd1dda1cd4187024e4168da193afad42e73ea4..7bc84b81e1282f6156eb41fe52ba94b2f4d437cc 100755 (executable)
@@ -191,8 +191,8 @@ set +x
 
 # Deployment if needed
 #---------------------
-#if [ "${OPJ_CI_INCLUDE_IF_DEPLOY:-}" == "1" ] && [ [ "${TRAVIS_TAG:-}" != "" ] || [ "${APPVEYOR_REPO_TAG:-}" == "true" ] ]; then
-if [ "${OPJ_CI_INCLUDE_IF_DEPLOY:-}" == "1" ]; then
+if [ "${OPJ_CI_INCLUDE_IF_DEPLOY:-}" == "1" ] && [ [ "${TRAVIS_TAG:-}" != "" ] || [ "${APPVEYOR_REPO_TAG:-}" == "true" ] ]; then
+#if [ "${OPJ_CI_INCLUDE_IF_DEPLOY:-}" == "1" ]; then
        OPJ_CI_DEPLOY=1         # unused for now
        OPJ_CUR_DIR=${PWD}
        if [ "${TRAVIS_OS_NAME:-}" == "linux" ]; then