Remove GoVersion from build.sh
This commit is contained in:
parent
3292c278fe
commit
8a814a59f8
|
@ -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\""
|
||||||
|
|
Loading…
Reference in New Issue