cpack only on tag commit

This commit is contained in:
Antonin Descampe 2016-05-15 16:52:17 +02:00
parent 5b9bf39408
commit b3a8a69503
1 changed files with 2 additions and 2 deletions

View File

@ -191,8 +191,8 @@ set +x
# Deployment if needed # Deployment if needed
#--------------------- #---------------------
#if [ "${OPJ_CI_INCLUDE_IF_DEPLOY:-}" == "1" ] && [ [ "${TRAVIS_TAG:-}" != "" ] || [ "${APPVEYOR_REPO_TAG:-}" == "true" ] ]; then 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" ]; then
OPJ_CI_DEPLOY=1 # unused for now OPJ_CI_DEPLOY=1 # unused for now
OPJ_CUR_DIR=${PWD} OPJ_CUR_DIR=${PWD}
if [ "${TRAVIS_OS_NAME:-}" == "linux" ]; then if [ "${TRAVIS_OS_NAME:-}" == "linux" ]; then