mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-12 22:42:23 +00:00
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:
parent
5367f86f92
commit
03da155069
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user