Browse Source

Fix if statement

master v0.2.0
Ambrose Chua 4 years ago
parent
commit
d52a582138
  1. 2
      .drone.yml

2
.drone.yml

@ -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

Loading…
Cancel
Save