fixes release on promotion/deploy in drone
This commit is contained in:
parent
dbcf05b98b
commit
b7cbd8f82a
26
.drone.yml
26
.drone.yml
@ -48,14 +48,15 @@ steps:
|
||||
commands:
|
||||
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
||||
- make build
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
depends_on:
|
||||
- submodules
|
||||
- clean
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: deploy
|
||||
|
||||
steps:
|
||||
- name: release
|
||||
image: goreleaser/goreleaser:latest
|
||||
environment:
|
||||
@ -64,11 +65,12 @@ steps:
|
||||
commands:
|
||||
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
||||
- goreleaser release --rm-dist --parallelism=1
|
||||
trigger:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- production
|
||||
depends_on:
|
||||
- submodules
|
||||
- clean
|
||||
|
||||
depends_on:
|
||||
- default
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- production
|
||||
|
Loading…
Reference in New Issue
Block a user