summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-04-02 13:58:03 +0200
committerraveit65 <[email protected]>2019-04-02 13:58:03 +0200
commit0ac70465e8cde8c11dd743297174235afd8afdc1 (patch)
treea2f82b2638d86adc746ca5a03cf84aa759621cb2
parent439cf87ce6623ca8bae2b051afc95148eb0664c5 (diff)
downloadmate-panel-0ac70465e8cde8c11dd743297174235afd8afdc1.tar.bz2
mate-panel-0ac70465e8cde8c11dd743297174235afd8afdc1.tar.xz
github release page
-rw-r--r--.travis.yml37
1 files changed, 27 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index 3e6346e5..7ffdf8f4 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
@@ -215,3 +221,14 @@ after_scripts:
- ./gen-index -i https://raw.githubusercontent.com/${OWNER_NAME}/${REPO_NAME}/master/icons/16x16/${REPO_NAME}.png
- fi
- make distcheck
+
+releases:
+ draft: false
+ prerelease: false
+ checksum: true
+ file_glob: true
+ files: mate-panel-*.tar.xz
+ github_release:
+ tags: true
+ overwrite: true
+ base_version: 1.20.0