This commit is contained in:
parent
5c685ae255
commit
faf2883ebf
@ -15,9 +15,9 @@ steps:
|
|||||||
GOARCH: amd64
|
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
|
||||||
- name: release
|
- name: release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
|
Loading…
Reference in New Issue
Block a user