Use ./src/
as gox build argument
This commit is contained in:
parent
1917aafd6c
commit
fdd45f9e8e
@ -20,7 +20,7 @@ script:
|
||||
- diff -u <(echo -n) <(gofmt -d .)
|
||||
- go test -v -race ./...
|
||||
# Only build binaries from the latest Go release.
|
||||
- if [ "${LATEST}" = "true" ]; then gox -os="linux" -arch="amd64" -output="concron.." -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose src/main.go; fi
|
||||
- if [ "${LATEST}" = "true" ]; then gox -os="linux" -arch="amd64" -output="concron.." -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./src/; fi
|
||||
|
||||
deploy:
|
||||
provider: releases
|
||||
|
Loading…
x
Reference in New Issue
Block a user