Fix versioning for containerd & crictl

This commit is contained in:
Erik Wilson 2019-10-14 12:54:10 -07:00
parent db4f7e684a
commit 2ef3a2058d

View File

@ -12,9 +12,9 @@ PKG_CRICTL="github.com/kubernetes-sigs/cri-tools"
VERSIONFLAGS="
-X $PKG/pkg/version.Version=$VERSION
-X $PKG/pkg/version.GitCommit=${COMMIT:0:8}
-X $PKG/vendor/$PKG_CONTAINERD/version.Version=$VERSION_CONTAINERD
-X $PKG/vendor/$PKG_CONTAINERD/version.Package=$PKG_RANCHER_CONTAINERD
-X $PKG/vendor/$PKG_CRICTL/pkg/version.Version=$VERSION_CRICTL"
-X $PKG_CONTAINERD/version.Version=$VERSION_CONTAINERD
-X $PKG_CONTAINERD/version.Package=$PKG_RANCHER_CONTAINERD
-X $PKG_CRICTL/pkg/version.Version=$VERSION_CRICTL"
LDFLAGS="
-w -s"
STATIC="