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:
|
commands:
|
||||||
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
||||||
- make build
|
- make build
|
||||||
when:
|
|
||||||
event:
|
|
||||||
exclude:
|
|
||||||
- tag
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- submodules
|
- submodules
|
||||||
- clean
|
- clean
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: deploy
|
||||||
|
|
||||||
|
steps:
|
||||||
- name: release
|
- name: release
|
||||||
image: goreleaser/goreleaser:latest
|
image: goreleaser/goreleaser:latest
|
||||||
environment:
|
environment:
|
||||||
@ -64,11 +65,12 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
||||||
- goreleaser release --rm-dist --parallelism=1
|
- goreleaser release --rm-dist --parallelism=1
|
||||||
trigger:
|
|
||||||
event:
|
depends_on:
|
||||||
- promote
|
- default
|
||||||
target:
|
|
||||||
- production
|
trigger:
|
||||||
depends_on:
|
event:
|
||||||
- submodules
|
- promote
|
||||||
- clean
|
target:
|
||||||
|
- production
|
||||||
|
Loading…
Reference in New Issue
Block a user