diff options
author | raveit65 <[email protected]> | 2019-03-31 17:05:21 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-31 17:05:21 +0200 |
commit | 46f9c5418014311a5831df488371c04e7c3150fc (patch) | |
tree | 644267bda8b9dea95279b9d9d50249abd71efd2d | |
parent | bc41274dad99d0c6700efac3dd747c282ed4f7d6 (diff) | |
download | mate-desktop-46f9c5418014311a5831df488371c04e7c3150fc.tar.bz2 mate-desktop-46f9c5418014311a5831df488371c04e7c3150fc.tar.xz |
github release
-rw-r--r-- | .travis.yml | 37 |
1 files changed, 27 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index 75954b8..81ce343 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 @@ -170,3 +176,14 @@ after_scripts: - ./gen-index -i https://github.com/${OWNER_NAME}/${REPO_NAME}/raw/master/icons/hicolor_apps_16x16_mate.png - fi - make distcheck + +releases: + draft: false + prerelease: false + checksum: true + file_glob: true + files: mate-desktop-*.tar.xz + github_release: + tags: true + overwrite: true + base_version: 1.20.0 |