ci: depend on tag receive
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Marvin Steadfast 2021-04-16 09:25:41 +02:00
parent 5f7215d965
commit f8512fb5ea
3 changed files with 9 additions and 0 deletions

View File

@ -12,11 +12,15 @@ steps:
image: golangci/golangci-lint:latest image: golangci/golangci-lint:latest
commands: commands:
- make lint - make lint
depends_on:
- tags
- name: test - name: test
image: golang:latest image: golang:latest
commands: commands:
- make test - make test
depends_on:
- tags
- name: build - name: build
image: goreleaser/goreleaser:v0.162.0 image: goreleaser/goreleaser:v0.162.0
@ -24,6 +28,7 @@ steps:
- (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
depends_on: depends_on:
- tags
- lint - lint
- test - test
when: when:
@ -39,6 +44,7 @@ steps:
commands: commands:
- goreleaser release --rm-dist - goreleaser release --rm-dist
depends_on: depends_on:
- tags
- lint - lint
- test - test
when: when:

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
config.y* config.y*
dist/ dist/
.envrc

View File

@ -34,6 +34,8 @@ changelog:
exclude: exclude:
- "^docs:" - "^docs:"
- "^test:" - "^test:"
- "^ci:"
- "happy linting"
release: release:
github: github: