From a44353ff495e0a9c5ea08af31f94701bc36687cf Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Wed, 13 Mar 2019 17:00:23 +0800 Subject: github release --- .travis.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1