Makefile: explicitly specify go1.17 compatibility when running go mod tidy at make vendor-update

This is needed because go1.17 is the minimum supported version of Go,
which is needed for building VictoriaMetrics
This commit is contained in:
Aliaksandr Valialkin 2022-05-20 14:41:02 +03:00
parent 6b5979cd76
commit a175a57084
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -257,7 +257,7 @@ benchmark-pure:
vendor-update: vendor-update:
GO111MODULE=on go get -u -d ./lib/... GO111MODULE=on go get -u -d ./lib/...
GO111MODULE=on go get -u -d ./app/... GO111MODULE=on go get -u -d ./app/...
GO111MODULE=on go mod tidy GO111MODULE=on go mod tidy -compat=1.17
GO111MODULE=on go mod vendor GO111MODULE=on go mod vendor
app-local: app-local: