Build all binaries only on releases deploy
This commit is contained in:
parent
bffd8f24b0
commit
fb523ce470
|
@ -23,8 +23,6 @@ install:
|
||||||
- rsync -r ./vendor/ $GOPATH/src
|
- rsync -r ./vendor/ $GOPATH/src
|
||||||
script:
|
script:
|
||||||
- ./.scripts/test_all.sh
|
- ./.scripts/test_all.sh
|
||||||
before_deploy:
|
|
||||||
- ./.scripts/build_all.sh
|
|
||||||
deploy:
|
deploy:
|
||||||
- provider: releases
|
- provider: releases
|
||||||
api_key:
|
api_key:
|
||||||
|
@ -36,6 +34,7 @@ deploy:
|
||||||
tags: true
|
tags: true
|
||||||
go: 1.7
|
go: 1.7
|
||||||
repo: tus/tusd
|
repo: tus/tusd
|
||||||
|
condition: $(./.scripts/build_all.sh)
|
||||||
- provider: script
|
- provider: script
|
||||||
script: .scripts/deploy_current.sh
|
script: .scripts/deploy_current.sh
|
||||||
on:
|
on:
|
||||||
|
|
Loading…
Reference in New Issue