From: Antonin Descampe Date: Sun, 15 May 2016 14:52:17 +0000 (+0200) Subject: cpack only on tag commit X-Git-Tag: v2.1.1~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3a8a69503de275c6d9c44bebff176991f9a63a0;p=openjpeg cpack only on tag commit --- diff --git a/tools/travis-ci/run.sh b/tools/travis-ci/run.sh index 9bbd1dda..7bc84b81 100755 --- a/tools/travis-ci/run.sh +++ b/tools/travis-ci/run.sh @@ -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