Merge pull request #897 from erikwilson/fix-versions

Fix versioning for containerd & crictl
This commit is contained in:
Erik Wilson 2019-10-14 13:28:37 -07:00 committed by GitHub
commit 264347a48c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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="