Use = in -X because it's deprecated without
This commit is contained in:
parent
18cb17f8f5
commit
03f92e50fa
|
@ -46,7 +46,7 @@ go get \
|
||||||
# Build!
|
# Build!
|
||||||
echo "--> Building..."
|
echo "--> Building..."
|
||||||
go build \
|
go build \
|
||||||
-ldflags "${CGO_LDFLAGS} -X main.GitCommit ${GIT_COMMIT}${GIT_DIRTY} -X main.GitDescribe ${GIT_DESCRIBE}" \
|
-ldflags "${CGO_LDFLAGS} -X main.GitCommit=${GIT_COMMIT}${GIT_DIRTY} -X main.GitDescribe=${GIT_DESCRIBE}" \
|
||||||
-v \
|
-v \
|
||||||
-o bin/nomad${EXTENSION}
|
-o bin/nomad${EXTENSION}
|
||||||
cp bin/nomad${EXTENSION} ${GOPATHSINGLE}/bin
|
cp bin/nomad${EXTENSION} ${GOPATHSINGLE}/bin
|
||||||
|
|
Loading…
Reference in a new issue