Skip to content

Commit

Permalink
fix update go version doc (#8028)
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Tashima <pedro.tashima@suse.com>
Co-authored-by: Pedro Tashima <pedro.tashima@suse.com>
  • Loading branch information
tashima42 and tashima42 committed Jul 21, 2023
1 parent d8ae6ef commit 36645e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/release/kubernetes-upgrade.md
Expand Up @@ -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/<OLD_GO_VERSION>/<NEW_GO_VERSION>/g” Dockerfile.* .github/workflows/integration.yaml .github/workflows/unitcoverage.yaml
export OLD_GO_VERSION=<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.
Expand Down

0 comments on commit 36645e7

Please sign in to comment.