WIP automatic release

This commit is contained in:
Antonin Descampe 2016-05-15 01:36:31 +02:00
parent 9466d3100e
commit 7219854639
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ script:
- ./tools/travis-ci/abi-check.sh - ./tools/travis-ci/abi-check.sh
before_deploy: 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" - echo "deploying $OPJ_RELEASE_PKG_FILE to GitHub releases"
deploy: deploy:

View File

@ -278,7 +278,7 @@ echo "APPVEYOR_REPO_TAG: ${APPVEYOR_REPO_TAG:-}"
echo "APPVEYOR_REPO_TAG_NAME: ${APPVEYOR_REPO_TAG_NAME:-}" echo "APPVEYOR_REPO_TAG_NAME: ${APPVEYOR_REPO_TAG_NAME:-}"
if [ "${OPJ_CI_DEPLOY:-}" == "1" ]; then if [ "${OPJ_CI_DEPLOY:-}" == "1" ]; then
if [ "${TRAVIS_TAG:-}" != "" ]; 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 fi
if [ "${APPVEYOR_REPO_TAG:-}" == "true" ]; then if [ "${APPVEYOR_REPO_TAG:-}" == "true" ]; then
cpack -G ZIP -P "OpenJPEG-${APPVEYOR_REPO_TAG_NAME}-${OPJ_BUILDNAME_TEST}.zip" cpack -G ZIP -P "OpenJPEG-${APPVEYOR_REPO_TAG_NAME}-${OPJ_BUILDNAME_TEST}.zip"