mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-16 21:38:23 +00:00
omit go version control information (buildvcs)
Omit go version control information (buildvcs), otherwise go command fails to obtain vcs status as shown below: error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. Signed-off-by: Muyassarov, Feruzjon <feruzjon.muyassarov@intel.com>
This commit is contained in:
parent
a58cc0a53b
commit
99595f5fab
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ set -o pipefail
|
||||||
|
|
||||||
# Default path for code-generator repo
|
# Default path for code-generator repo
|
||||||
K8S_CODE_GENERATOR=${K8S_CODE_GENERATOR:-../code-generator}
|
K8S_CODE_GENERATOR=${K8S_CODE_GENERATOR:-../code-generator}
|
||||||
|
# Omit version control information (buildvcs)
|
||||||
|
export GOENV="/go/env"
|
||||||
|
go env -w GOFLAGS="-buildvcs=false"
|
||||||
|
|
||||||
go mod vendor
|
go mod vendor
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue