1
0
Fork 0

Test fix for drone

master
Ambrose Chua 2018-03-26 21:33:31 +08:00
parent 5186d178c7
commit d47d8e6f53
1 changed files with 5 additions and 3 deletions

View File

@ -3,11 +3,11 @@ matrix:
- "1.10" - "1.10"
GOOS: GOOS:
- linux - linux
- windows # - windows
- darwin # - darwin
GOARCH: GOARCH:
- amd64 - amd64
- arm64 # - arm64
pipeline: pipeline:
build: build:
image: golang:${GO_VERSION}-alpine image: golang:${GO_VERSION}-alpine
@ -15,6 +15,8 @@ pipeline:
commands: commands:
- export FILENAME=${DRONE_REPO_NAME}-${GOOS}-${GOARCH} - export FILENAME=${DRONE_REPO_NAME}-${GOOS}-${GOARCH}
- go version - go version
- ls -lah
- ls vendor/
- go build -ldflags "-s -w" -o dist/$FILENAME - go build -ldflags "-s -w" -o dist/$FILENAME
release: release:
image: plugins/github-release image: plugins/github-release