summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-02-18 16:38:06 +0800
committerraveit65 <[email protected]>2019-03-31 17:10:39 +0200
commitd30af12f6cf7a1d3f65987c84bcc07a89c54444c (patch)
treea589755ef8b405fc65d7c71a982f38acded10178
parentb7c1fc69e285f0a6c6a9b496cb5a9cae7c79cf66 (diff)
downloadmate-common-d30af12f6cf7a1d3f65987c84bcc07a89c54444c.tar.bz2
mate-common-d30af12f6cf7a1d3f65987c84bcc07a89c54444c.tar.xz
auto release when push tag to github
-rw-r--r--.travis.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 7b1a834..578929b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,6 +18,14 @@ install:
script:
- ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build autotools
+deploy:
+ - provider: script
+ script: ./docker-build --verbose --config .travis.yml --release github
+ skip_cleanup: true
+ on:
+ tags: true
+ condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$"
+
env:
- DISTRO="archlinux/base"
- DISTRO="debian:sid"
@@ -65,3 +73,14 @@ variables:
after_scripts:
- make distcheck
+
+releases:
+ draft: false
+ prerelease: false
+ checksum: true
+ file_glob: true
+ files: mate-common-*.tar.xz
+ github_release:
+ tags: true
+ overwrite: true
+ base_version: 1.20.0