Skip to content

Commit 36645e7

Browse files
authored
fix update go version doc (#8028)
Signed-off-by: Pedro Tashima <[email protected]> Co-authored-by: Pedro Tashima <[email protected]>
1 parent d8ae6ef commit 36645e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/release/kubernetes-upgrade.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ go mod tidy
143143
Ensure to update the Go version in both the Dockerfile and GitHub workflows, if required.
144144

145145
```sh
146-
sed -i'' “s/<OLD_GO_VERSION>/<NEW_GO_VERSION>/g” Dockerfile.* .github/workflows/integration.yaml .github/workflows/unitcoverage.yaml
146+
export OLD_GO_VERSION=<old-go-version>
147+
sed -i'' "s/$OLD_GO_VERSION/$GOVERSION/g" Dockerfile.* .github/workflows/integration.yaml .github/workflows/unitcoverage.yaml
147148
```
148149

149150
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.

0 commit comments

Comments
 (0)