1
0
Fork 0

Fix if syntax

master
Ambrose Chua 2018-03-26 22:01:43 +08:00
parent b076942e0e
commit cf662b8d91
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ 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 build -ldflags "-s -w" -o dist/$FILENAME
release:
image: plugins/github-release