Fix .drone.yml syntax
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
Array format not supported in 1.0 yet unlike the claim made in documentationmaster
parent
346e04401d
commit
317f4799aa
|
@ -6,9 +6,9 @@ steps:
|
||||||
image: golang:1.11
|
image: golang:1.11
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
- CGO_ENABLED=0
|
CGO_ENABLED: 0
|
||||||
- GOOS=linux
|
GOOS: linux
|
||||||
- GOARCH=amd64
|
GOARCH: amd64
|
||||||
commands:
|
commands:
|
||||||
- export FILENAME=${DRONE_REPO_NAME}-${GOOS}-${GOARCH}
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue