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: steps:
- name: build - name: build
image: golang image: golang
environment:
GOOS: linux
GOARCH: amd64
commands: commands:
- mkdir dist - mkdir dist
- go build -o dist/qrz-${DRONE_TAG}-${GOOS}-${GOARCH} -mod=vendor -ldflags="-s -w" cmd/qrz/*.go - go build -o dist/qrz-${DRONE_TAG}-${GOOS}-${GOARCH} -mod=vendor -ldflags="-s -w" cmd/qrz/*.go
- cd dist - cd dist
- tar -czvf qrz-${DRONE_TAG}-${GOOS}-${GOARCH}.tar.gz - tar -czvf qrz-${DRONE_TAG}-${GOOS}-${GOARCH}.tar.gz
environment:
- GOOS=linux
- GOARCH=amd64
when:
event: tag
- name: release - name: release
image: plugins/gitea-release image: plugins/gitea-release
settings: settings: