summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-03-26 09:33:58 +0100
committerraveit65 <[email protected]>2019-03-27 22:41:06 +0100
commit13b08f559fa5a2f4b110d66c32f1912fd6bac21a (patch)
treeb5d573f175eb24d15e07731ecfbea30b13781976
parentfa8a49fbd90ea36029559740ec16ff851ff933e5 (diff)
downloadengrampa-13b08f559fa5a2f4b110d66c32f1912fd6bac21a.tar.bz2
engrampa-13b08f559fa5a2f4b110d66c32f1912fd6bac21a.tar.xz
github release
-rw-r--r--.travis.yml37
1 files changed, 27 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index c01e980..8bb9908 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
@@ -156,3 +162,14 @@ after_scripts:
- ./gen-index -i https://github.com/mate-desktop/engrampa/raw/master/data/icons/16x16/apps/engrampa.png
- fi
- make distcheck
+
+releases:
+ draft: false
+ prerelease: false
+ checksum: true
+ file_glob: true
+ files: engrampa-*.tar.xz
+ github_release:
+ tags: true
+ overwrite: true
+ base_version: 1.20.0