X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=appveyor.yml;fp=appveyor.yml;h=9492f040b5dda750b7b675e021bbb40f12ae71b4;hb=8ba0de3e45aec595361a4f321e67dfd745d492d3;hp=d5cc1620e6d8080288876a2138b7ece3788ed010;hpb=2e0779e2505f98ea43eced3ee650a2a61a6b017c;p=openjpeg.git diff --git a/appveyor.yml b/appveyor.yml index d5cc1620..9492f040 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,14 +2,16 @@ version: 2.1.1.{build} branches: except: - coverity_scan -skip_tags: true +skip_tags: false clone_depth: 50 environment: matrix: - OPJ_CI_ARCH: x86 OPJ_CI_VSCOMNTOOLS: $(VS140COMNTOOLS) + OPJ_CI_DEPLOY: 1 - OPJ_CI_ARCH: x64 OPJ_CI_VSCOMNTOOLS: $(VS140COMNTOOLS) + OPJ_CI_DEPLOY: 1 - OPJ_CI_ARCH: x86 OPJ_CI_VSCOMNTOOLS: $(VS100COMNTOOLS) install: @@ -20,4 +22,17 @@ build_script: bash ./tools/travis-ci/run.sh test: off -deploy: off +#before_deploy: +#- cmd: c:\cygwin\bin\bash ./tools/travis-ci/before_deploy.sh +deploy: + release: openjpeg-$(appveyor_repo_tag_name) + description: 'OpenJPEG $(appveyor_repo_tag_name) has been released' + provider: GitHub + auth_token: + secure: Huk03f1heCD/HMyA+4ZeVmICdmKn9rPxK5p8/KxzgL+FtJDHlqcllcCrtN9bDxRH # your encrypted token from GitHub + artifact: /.*\.zip/ # upload all zip packages to release assets + draft: true + prerelease: false + on: + branch: openjpeg-* + appveyor_repo_tag: true # deploy on tag push only