DOCS: Add dep updates steps to rel-eng (#3265)

This commit is contained in:
Tom Limoncelli 2024-12-19 10:29:50 -05:00 committed by GitHub
parent a341022068
commit 35ac9a964e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,10 +7,19 @@ GitHub Actions (GHA) will do most of the work for you. You will need to edit the
Please change the version number as appropriate. Substitute (for example)
`v4.2.0` any place you see `$VERSION` in this doc.
## Step 0. Update dependencies
```shell
git checkout -b update_deps
go install github.com/oligot/go-mod-upgrade@latest
go-mod-upgrade
go mod tidy
git commit -a -m "CHORE: Update dependencies"
```
## Step 1. Rebuild generated files
```shell
export VERSION=v4.x.0
git checkout main
git pull
go fmt ./...