mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-09-20 15:31:21 +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_glob: true
|
||||||
file: build/*.tar.gz
|
file: build/*.tar.gz
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
tags: true
|
||||||
|
|
||||||
- name: 'linux shared lib'
|
- name: 'linux shared lib'
|
||||||
stage: release
|
stage: release
|
||||||
@ -81,6 +82,7 @@ jobs:
|
|||||||
file:
|
file:
|
||||||
- ./.shared/linux-x86-64/libenry.so
|
- ./.shared/linux-x86-64/libenry.so
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
tags: true
|
||||||
|
|
||||||
- name: 'macOS shared lib'
|
- name: 'macOS shared lib'
|
||||||
stage: release
|
stage: release
|
||||||
@ -103,6 +105,7 @@ jobs:
|
|||||||
secure: $GITHUB_TOKEN
|
secure: $GITHUB_TOKEN
|
||||||
file: ./.shared/darwin/libenry.dylib
|
file: ./.shared/darwin/libenry.dylib
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
tags: true
|
||||||
|
|
||||||
- name: 'java: publish to maven'
|
- name: 'java: publish to maven'
|
||||||
stage: publish
|
stage: publish
|
||||||
@ -137,3 +140,4 @@ jobs:
|
|||||||
file_glob: true
|
file_glob: true
|
||||||
file: ./target/enry-java*.jar
|
file: ./target/enry-java*.jar
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
tags: true
|
||||||
|
Loading…
Reference in New Issue
Block a user