Another attempt at fixing drone
parent
a5bb7b80d5
commit
0a5cdd667e
|
@ -14,10 +14,11 @@ pipeline:
|
|||
pull: true
|
||||
commands:
|
||||
- export FILENAME=${DRONE_REPO_NAME}-${GOOS}-${GOARCH}
|
||||
- if [ "$GOOS" == "windows" ]; then export FILENAME=$FILENAME.exe; fi
|
||||
- if [[ "$GOOS" == "windows" ]]; then export FILENAME=$FILENAME.exe; fi
|
||||
- go version
|
||||
- ls -lah
|
||||
- ls vendor/
|
||||
- env
|
||||
- go build -ldflags "-s -w" -o dist/$FILENAME
|
||||
release:
|
||||
image: plugins/github-release
|
||||
|
|
Loading…
Reference in New Issue