fixes release on promotion/deploy in drone
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
continuous-integration/drone Build is failing

This commit is contained in:
Marvin Steadfast 2021-01-22 15:40:24 +01:00
parent dbcf05b98b
commit b7cbd8f82a

View File

@ -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