diff options
author | raveit65 <[email protected]> | 2019-03-25 15:44:23 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-26 11:01:13 +0100 |
commit | 36d100a5add33151ac7fc94dd5c0a5ac50a6d119 (patch) | |
tree | b354a01e95d31906ac038b01af4f6d33140ff2c1 | |
parent | f0bda345cdb15812a24b54dcba4040ffc0c9ea88 (diff) | |
download | atril-36d100a5add33151ac7fc94dd5c0a5ac50a6d119.tar.bz2 atril-36d100a5add33151ac7fc94dd5c0a5ac50a6d119.tar.xz |
github release
-rw-r--r-- | .travis.yml | 37 |
1 files changed, 27 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index 3ab614e3..f69c8b5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,16 +24,22 @@ script: - ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build scripts deploy: - provider: pages - github-token: $GITHUB_TOKEN - #keep-history: true - skip_cleanup: true - committer-from-gh: true - target-branch: gh-pages - local-dir: html-report - on: - all_branches: true - condition: ${DISTRO} =~ ^fedora.*$ + - provider: pages + github-token: $GITHUB_TOKEN + #keep-history: true + skip_cleanup: true + committer-from-gh: true + target-branch: gh-pages + local-dir: html-report + on: + all_branches: true + condition: ${DISTRO} =~ ^fedora.*$ + - provider: script + script: ./docker-build --verbose --config .travis.yml --release github + skip_cleanup: true + on: + tags: true + condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$" after_success: - 'if [[ "$TRAVIS_SECURE_ENV_VARS" == "true" && "$TRAVIS_PULL_REQUEST" != "false" && ${DISTRO} =~ ^fedora.*$ ]]; then @@ -199,3 +205,14 @@ after_scripts: - ./gen-index -i https://github.com/${OWNER_NAME}/atril/raw/master/data/icons/16x16/apps/atril.png - fi - make distcheck + +releases: + draft: false + prerelease: false + checksum: true + file_glob: true + files: atril-*.tar.xz + github_release: + tags: true + overwrite: true + base_version: 1.20.0 |