Browse Source

add macOS release

main
Lunny Xiao 5 years ago
parent
commit
181002f3be
No known key found for this signature in database GPG Key ID: C3B7C91B632F738A
  1. 1
      .drone.yml

1
.drone.yml

@ -29,6 +29,7 @@ steps:
commands:
- go build -mod=vendor -ldflags="-s -w -X 'main.Version=${DRONE_TAG}'" -o bin/reverse-${DRONE_TAG}-linux-amd64
- GOOS=windows GOARCH=amd64 go build -mod=vendor -ldflags="-s -w -X 'main.Version=${DRONE_TAG}'" -o bin/reverse-${DRONE_TAG}-windows-amd64.exe
- GOOS=darwin GOARCH=amd64 go build -mod=vendor -ldflags="-s -w -X 'main.Version=${DRONE_TAG}'" -o bin/reverse-${DRONE_TAG}-darwin-amd64
environment:
GO111MODULE: on

Loading…
Cancel
Save