Remove GoVersion from build.sh

This commit is contained in:
Julius Volz 2016-04-08 14:43:44 +02:00
parent 3292c278fe
commit 8a814a59f8
1 changed files with 1 additions and 2 deletions

View File

@ -33,8 +33,7 @@ ldflags="
-X ${repo_path}/version.Revision=${revision} -X ${repo_path}/version.Revision=${revision}
-X ${repo_path}/version.Branch=${branch} -X ${repo_path}/version.Branch=${branch}
-X ${repo_path}/version.BuildUser=${USER}@${host} -X ${repo_path}/version.BuildUser=${USER}@${host}
-X ${repo_path}/version.BuildDate=${build_date} -X ${repo_path}/version.BuildDate=${build_date}"
-X ${repo_path}/version.GoVersion=${go_version}"
if [ "$(go env GOOS)" != "darwin" ]; then if [ "$(go env GOOS)" != "darwin" ]; then
ldflags="${ldflags} -extldflags \"-static\"" ldflags="${ldflags} -extldflags \"-static\""