diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 97db16fe..0b2a0b28 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,8 +23,8 @@ The SDK is tested against three Go versions: the latest, penultimate, and a mini Whereas the latest and penultimate are updates on a regular cadence to track upstream Go releases, the minimum version may be bumped at the discretion of the SDK maintainers to take advantage of new features. -Invoke the following make command, which will update `go.mod`, `ldotel/go.mod`, `ldai/go.mod`, `testservice/go.mod`, and -`.github/variables/go-versions.env` (pass the desired Go version): +Invoke the following make command, which will update `go.mod`, `ldotel/go.mod`, `ldai/go.mod`, `ldmiddleware/go.mod`, +`testservice/go.mod`, and `.github/variables/go-versions.env` (pass the desired Go version): ```shell make bump-min-go-version MIN_GO_VERSION=1.18 ``` diff --git a/Makefile b/Makefile index 829d9ee4..2c6b9148 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,7 @@ bump-min-go-version: go mod edit -go=$(MIN_GO_VERSION) go.mod cd ldotel && go mod edit -go=$(MIN_GO_VERSION) go.mod cd ldai && go mod edit -go=$(MIN_GO_VERSION) go.mod + cd ldmiddleware && go mod edit -go=$(MIN_GO_VERSION) go.mod cd testservice && go mod edit -go=$(MIN_GO_VERSION) go.mod cd ./.github/variables && sed -i.bak "s#min=[^ ]*#min=$(MIN_GO_VERSION)#g" go-versions.env && rm go-versions.env.bak