summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-03-26 10:30:25 +0100
committerraveit65 <[email protected]>2019-03-29 21:59:32 +0100
commit7676a6e85826588117983fa7b657f04d8365206a (patch)
tree854a92348dbfb699ba9b41fdcd7f969a96cc51a4
parent59418f5732109b671de052eee571087d675badeb (diff)
downloadeom-7676a6e85826588117983fa7b657f04d8365206a.tar.bz2
eom-7676a6e85826588117983fa7b657f04d8365206a.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 9eba838..61e8a76 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
@@ -193,3 +199,14 @@ after_scripts:
- ./gen-index -i https://github.com/mate-desktop/eom/raw/master/data/icons/16x16/apps/eom.png
- fi
- make distcheck
+
+releases:
+ draft: false
+ prerelease: false
+ checksum: true
+ file_glob: true
+ files: eom-*.tar.xz
+ github_release:
+ tags: true
+ overwrite: true
+ base_version: 1.20.0