From b3a8a69503de275c6d9c44bebff176991f9a63a0 Mon Sep 17 00:00:00 2001 From: Antonin Descampe Date: Sun, 15 May 2016 16:52:17 +0200 Subject: [PATCH] cpack only on tag commit --- tools/travis-ci/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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