This commit is contained in:
parent
bf73b1aa71
commit
5c685ae255
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user