updated .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Paul 2020-04-07 23:15:47 +02:00
parent bf73b1aa71
commit 5c685ae255

View File

@ -10,16 +10,14 @@ platform:
steps:
- name: build
image: golang
environment:
GOOS: linux
GOARCH: amd64
commands:
- mkdir dist
- go build -o dist/qrz-${DRONE_TAG}-${GOOS}-${GOARCH} -mod=vendor -ldflags="-s -w" cmd/qrz/*.go
- cd dist
- tar -czvf qrz-${DRONE_TAG}-${GOOS}-${GOARCH}.tar.gz
environment:
- GOOS=linux
- GOARCH=amd64
when:
event: tag
- name: release
image: plugins/gitea-release
settings: