mirror of
https://github.com/k3s-io/k3s.git
synced 2026-05-28 04:34:19 -04:00
Update version scripts to read from go.mod
This commit is contained in:
parent
716f2f6f2a
commit
8ed2eb751f
1 changed files with 2 additions and 2 deletions
|
|
@ -16,5 +16,5 @@ fi
|
|||
ARCH=$(go env GOARCH)
|
||||
SUFFIX="-${ARCH}"
|
||||
|
||||
VERSION_CONTAINERD=$(grep ^github.com/containerd/containerd $(dirname $0)/../vendor.conf | awk '{print $2}')
|
||||
VERSION_CRICTL=$(grep ^github.com/kubernetes-sigs/cri-tools $(dirname $0)/../vendor.conf | awk '{print $2}')
|
||||
VERSION_CONTAINERD=$(grep github.com/containerd/containerd $(dirname $0)/../go.mod | head -n1 | awk '{print $4}')
|
||||
VERSION_CRICTL=$(grep github.com/kubernetes-sigs/cri-tools $(dirname $0)/../go.mod | head -n1 | awk '{print $4}')
|
||||
|
|
|
|||
Loading…
Reference in a new issue