From d30af12f6cf7a1d3f65987c84bcc07a89c54444c Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Mon, 18 Feb 2019 16:38:06 +0800 Subject: auto release when push tag to github --- .travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 -- cgit v1.2.1