summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-03-30 15:39:41 +0100
committerraveit65 <[email protected]>2019-03-30 15:39:41 +0100
commit261bb620f525a75c076d1f2c25bead13f8e66687 (patch)
treefdf39f6f9cd94f65f4307f007e17c01e3dcc2ad9
parent407b398c66d4cb1ee06df9a552984e7f038314e4 (diff)
downloadmarco-261bb620f525a75c076d1f2c25bead13f8e66687.tar.bz2
marco-261bb620f525a75c076d1f2c25bead13f8e66687.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 5eb56992..2326e40c 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
@@ -191,3 +197,14 @@ after_scripts:
- ./gen-index -i https://github.com/${OWNER_NAME}/mate-icon-theme/raw/master/mate/16x16/apps/preferences-system-windows.png
- fi
- make distcheck
+
+releases:
+ draft: false
+ prerelease: false
+ checksum: true
+ file_glob: true
+ files: marco-*.tar.xz
+ github_release:
+ tags: true
+ overwrite: true
+ base_version: 1.20.0