From 36645e7311e9bdbbf2adb79ecd8bd68556bc86f6 Mon Sep 17 00:00:00 2001 From: Pedro Tashima <23709916+Tashima42@users.noreply.github.com> Date: Fri, 21 Jul 2023 18:03:03 -0300 Subject: [PATCH] fix update go version doc (#8028) Signed-off-by: Pedro Tashima Co-authored-by: Pedro Tashima --- docs/release/kubernetes-upgrade.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/release/kubernetes-upgrade.md b/docs/release/kubernetes-upgrade.md index b25e6f1434..5633df3a44 100644 --- a/docs/release/kubernetes-upgrade.md +++ b/docs/release/kubernetes-upgrade.md @@ -143,7 +143,8 @@ go mod tidy Ensure to update the Go version in both the Dockerfile and GitHub workflows, if required. ```sh -sed -i'' “s///g” Dockerfile.* .github/workflows/integration.yaml .github/workflows/unitcoverage.yaml +export OLD_GO_VERSION= +sed -i'' "s/$OLD_GO_VERSION/$GOVERSION/g" Dockerfile.* .github/workflows/integration.yaml .github/workflows/unitcoverage.yaml ``` Please note that the modsync script, k3s_modsync.sh, is only necessary when making modifications to target a specific upstream Kubernetes commit instead of a tag in cases where k3s is being updated. In a regular patch release process, the modsync script is not used.