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:
- (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