diff options
| author | Antonin Descampe <antonin@gmail.com> | 2016-05-15 00:42:54 +0200 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2016-05-15 00:42:54 +0200 |
| commit | 8ba0de3e45aec595361a4f321e67dfd745d492d3 (patch) | |
| tree | 81f8a6b1d0f3a6a9999540ec103459d7922573c1 /appveyor.yml | |
| parent | 2e0779e2505f98ea43eced3ee650a2a61a6b017c (diff) | |
Update travis and appveyor to enable automatic releases on tag commit
Diffstat (limited to 'appveyor.yml')
| -rw-r--r-- | appveyor.yml | 19 |
1 files changed, 17 insertions, 2 deletions
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 |
