diff --git a/.travis.yml b/.travis.yml index fbbcdf39..00d86f72 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,7 +67,7 @@ script: - ./tools/travis-ci/abi-check.sh before_deploy: - - export OPJ_RELEASE_PKG_FILE=$(ls *.zip) + - export OPJ_RELEASE_PKG_FILE=$(ls OpenJPEG*.zip) - echo "deploying $OPJ_RELEASE_PKG_FILE to GitHub releases" deploy: diff --git a/tools/travis-ci/run.sh b/tools/travis-ci/run.sh index ceaa14d0..ab1bd365 100755 --- a/tools/travis-ci/run.sh +++ b/tools/travis-ci/run.sh @@ -278,7 +278,7 @@ echo "APPVEYOR_REPO_TAG: ${APPVEYOR_REPO_TAG:-}" echo "APPVEYOR_REPO_TAG_NAME: ${APPVEYOR_REPO_TAG_NAME:-}" if [ "${OPJ_CI_DEPLOY:-}" == "1" ]; then if [ "${TRAVIS_TAG:-}" != "" ]; then - cpack -G ZIP -P "OpenJPEG-${TRAVIS_TAG}-${OPJ_BUILDNAME_TEST}.zip" + cpack --config ${OPJ_SOURCE_DIR}/cmake/OpenJPEGCPack.cmake -V -G ZIP -P "OpenJPEG-${TRAVIS_TAG}-${OPJ_BUILDNAME_TEST}.zip" fi if [ "${APPVEYOR_REPO_TAG:-}" == "true" ]; then cpack -G ZIP -P "OpenJPEG-${APPVEYOR_REPO_TAG_NAME}-${OPJ_BUILDNAME_TEST}.zip"