summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-03-25 17:13:09 +0100
committerraveit65 <[email protected]>2019-03-26 11:59:46 +0100
commit22ca5d603739c49c5bda9f696135bd23a9427f5d (patch)
tree63c0e1d1a3e6d3877e6f911f911965fd80ef5cc4
parent6372de7b274c855e9e2a7835326255b5c23d8d07 (diff)
downloadcaja-22ca5d603739c49c5bda9f696135bd23a9427f5d.tar.bz2
caja-22ca5d603739c49c5bda9f696135bd23a9427f5d.tar.xz
github release
-rw-r--r--.travis.yml37
1 files changed, 27 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index aced08e8..227a1651 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
@@ -184,3 +190,14 @@ after_scripts:
- ./gen-index -i https://github.com/${OWNER_NAME}/mate-icon-theme/raw/master/mate/16x16/apps/system-file-manager.png
- fi
- make distcheck
+
+releases:
+ draft: false
+ prerelease: false
+ checksum: true
+ file_glob: true
+ files: caja-*.tar.xz
+ github_release:
+ tags: true
+ overwrite: true
+ base_version: 1.20.0