From f8512fb5ea2139ed47de7c0fc8d5724775944981 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Fri, 16 Apr 2021 09:25:41 +0200 Subject: [PATCH] ci: depend on tag receive --- .drone.yml | 6 ++++++ .gitignore | 1 + .goreleaser.yml | 2 ++ 3 files changed, 9 insertions(+) diff --git a/.drone.yml b/.drone.yml index 99cffcd..6cfd372 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,11 +12,15 @@ steps: image: golangci/golangci-lint:latest commands: - make lint + depends_on: + - tags - name: test image: golang:latest commands: - make test + depends_on: + - tags - name: build image: goreleaser/goreleaser:v0.162.0 @@ -24,6 +28,7 @@ steps: - (cd /tmp; go get -u github.com/go-bindata/go-bindata/...) - make build depends_on: + - tags - lint - test when: @@ -39,6 +44,7 @@ steps: commands: - goreleaser release --rm-dist depends_on: + - tags - lint - test when: diff --git a/.gitignore b/.gitignore index e649d63..ca69e37 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ config.y* dist/ +.envrc diff --git a/.goreleaser.yml b/.goreleaser.yml index 0681b5d..70f866f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -34,6 +34,8 @@ changelog: exclude: - "^docs:" - "^test:" + - "^ci:" + - "happy linting" release: github: