summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2016-05-15 16:52:17 +0200
committerAntonin Descampe <antonin@gmail.com>2016-05-15 16:52:17 +0200
commitb3a8a69503de275c6d9c44bebff176991f9a63a0 (patch)
treedddbba04c724c079eee5e9b82ca2dcce28e50bfe /tools
parent5b9bf39408fcdaea31fa02150d2387c03a0bd977 (diff)
cpack only on tag commit
Diffstat (limited to 'tools')
-rwxr-xr-xtools/travis-ci/run.sh4
1 files 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