From 2d1060a4ae9eeca6c2b344e1538f4bf230c76696 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Thu, 19 Dec 2024 10:23:17 -0500 Subject: [PATCH] DOCS: Add dep updates steps to rel-eng --- documentation/release-engineering.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/documentation/release-engineering.md b/documentation/release-engineering.md index e021fce1d7..c06bbd8dd2 100644 --- a/documentation/release-engineering.md +++ b/documentation/release-engineering.md @@ -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 ./...