From dbec192575a842f7804ef4c4d6a42617fe80df8b Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 25 Mar 2019 20:48:05 +0100 Subject: github release --- .travis.yml | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0f430ad..0dfdcdc 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 @@ -180,3 +186,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-extensions-*.tar.xz + github_release: + tags: true + overwrite: true + base_version: 1.20.0 -- cgit v1.2.1