fixes goreleaser version
This commit is contained in:
parent
739848b99f
commit
57bcab7996
@ -16,14 +16,12 @@ steps:
|
|||||||
|
|
||||||
- name: go-bindata
|
- name: go-bindata
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
pull: always
|
|
||||||
commands:
|
commands:
|
||||||
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
||||||
- go-bindata -pkg assets -o assets/bindata.go -nomemcopy /bin/true
|
- go-bindata -pkg assets -o assets/bindata.go -nomemcopy /bin/true
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
image: golangci/golangci-lint:latest
|
image: golangci/golangci-lint:latest
|
||||||
pull: always
|
|
||||||
commands:
|
commands:
|
||||||
- make lint
|
- make lint
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -46,8 +44,7 @@ steps:
|
|||||||
- test
|
- test
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: goreleaser/goreleaser:latest
|
image: goreleaser/goreleaser:v0.159.0
|
||||||
pull: always
|
|
||||||
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
|
||||||
@ -60,8 +57,7 @@ steps:
|
|||||||
- tag
|
- tag
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: goreleaser/goreleaser:latest
|
image: goreleaser/goreleaser:v0.159.0
|
||||||
pull: always
|
|
||||||
environment:
|
environment:
|
||||||
GITHUB_TOKEN:
|
GITHUB_TOKEN:
|
||||||
from_secret: github_token
|
from_secret: github_token
|
||||||
|
Loading…
Reference in New Issue
Block a user