From 0684397d6345a103c31deaf97dbf5febf5774157 Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Sun, 3 Oct 2021 15:18:00 -0700 Subject: [PATCH] go get is deprecated: https://golang.org/doc/go-get-install-deprecation --- scripts/update-submodule.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-submodule.sh b/scripts/update-submodule.sh index 2ef51eebbc..45431b37e0 100755 --- a/scripts/update-submodule.sh +++ b/scripts/update-submodule.sh @@ -40,7 +40,7 @@ source scripts/util/changelog.sh source scripts/util/common.sh util::common::check_sed -go get k8s.io/release/cmd/release-notes +go install k8s.io/release/cmd/release-notes@latest TARGET_RELEASE=${TARGET_RELEASE:-"v$(grep "^CLIENT_VERSION = \"" scripts/constants.py | sed "s/CLIENT_VERSION = \"//g" | sed "s/\"//g")"}