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 <bzz@apache.org>
This commit is contained in:
Alexander Bezzubov 2018-10-24 08:54:55 +02:00
parent 5367f86f92
commit 03da155069
No known key found for this signature in database
GPG Key ID: 8039F5787EFCD05D

View File

@ -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