From 03da1550694e09ec8f9741930a03fce486d94f50 Mon Sep 17 00:00:00 2001 From: Alexander Bezzubov Date: Wed, 24 Oct 2018 08:54:55 +0200 Subject: [PATCH] ci: explicitly enable deployment on tag As per https://docs.travis-ci.com/user/deployment/#conditional-releases-with-on it otherwise results in builds like https://travis-ci.org/src-d/enry/jobs/445378509 ``` Skipping a deployment with the release provider because this branch is not permitted: v1.6.7 ``` So either it needs to be `all_branches: true` or `tags: true` to work. Signed-off-by: Alexander Bezzubov --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index ca44c4a..0563801 100644 --- a/.travis.yml +++ b/.travis.yml @@ -68,6 +68,7 @@ jobs: file_glob: true file: build/*.tar.gz skip_cleanup: true + tags: true - name: 'linux shared lib' stage: release @@ -81,6 +82,7 @@ jobs: file: - ./.shared/linux-x86-64/libenry.so skip_cleanup: true + tags: true - name: 'macOS shared lib' stage: release @@ -103,6 +105,7 @@ jobs: secure: $GITHUB_TOKEN file: ./.shared/darwin/libenry.dylib skip_cleanup: true + tags: true - name: 'java: publish to maven' stage: publish @@ -137,3 +140,4 @@ jobs: file_glob: true file: ./target/enry-java*.jar skip_cleanup: true + tags: true