summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-03-13 17:00:23 +0800
committerraveit65 <[email protected]>2019-03-16 12:23:50 +0100
commita44353ff495e0a9c5ea08af31f94701bc36687cf (patch)
tree2495f0acc49c205f35130ce903d11ce3e2ade619
parentcc3d8b33324bb00e7990d34fd435a591b2d9e7e6 (diff)
downloadmate-control-center-a44353ff495e0a9c5ea08af31f94701bc36687cf.tar.bz2
mate-control-center-a44353ff495e0a9c5ea08af31f94701bc36687cf.tar.xz
github release
-rw-r--r--.travis.yml21
1 files changed, 20 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index bd5cd888..5d6a0150 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,7 @@ services:
before_install:
- curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build
- chmod +x docker-build
-
+
install:
- sudo apt-get install -y python3-pip python3-setuptools
- sudo pip3 install --upgrade pip
@@ -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"
@@ -198,3 +206,14 @@ before_scripts:
after_scripts:
- make distcheck
+
+releases:
+ draft: False
+ prerelease: False
+ checksum: True
+ file_glob: True
+ files: mate-control-center-*.tar.xz
+ github_release:
+ tags: True
+ overwrite: True
+ base_version: 1.20.0