code changes to drop the vendor dir

Signed-off-by: Luther Monson <luther.monson@gmail.com>
This commit is contained in:
Luther Monson
2021-11-08 20:50:42 -07:00
parent 8ad7d141e8
commit e6cf8f5982
13 changed files with 40 additions and 53 deletions

View File

@@ -52,8 +52,8 @@ CMD_NAME=dist/artifacts/k3s${BIN_SUFFIX}
"${GO}" generate
LDFLAGS="
-X github.com/rancher/k3s/pkg/version.Version=$VERSION
-X github.com/rancher/k3s/pkg/version.GitCommit=${COMMIT:0:8}
-X github.com/k3s-io/k3s/pkg/version.Version=$VERSION
-X github.com/k3s-io/k3s/pkg/version.GitCommit=${COMMIT:0:8}
-w -s
"
STATIC="-extldflags '-static'"