Do not use vendoring

This commit is contained in:
2020-09-08 11:40:25 +02:00
parent a0677f23e5
commit 38ac4422dd
2 changed files with 4 additions and 10 deletions

View File

@ -24,7 +24,6 @@ function build {
echo "building $dirname..."
CGO_ENABLED=0 GOOS="$os" GOARCH="$arch" go build \
-mod=vendor \
-ldflags="-s -w -X 'main.GitRef=$(current_commit_ref)' -X 'main.ProjectVersion=$(current_version)' -X 'main.BuildDate=$(current_date)'" \
-gcflags=-trimpath="${PWD}" \
-asmflags=-trimpath="${PWD}" \