@@ -16,7 +16,7 @@ ADD_LICENSE_HEADER := $(BIN)/license-header \
1616 --copyright-holder "Buf Technologies, Inc." \
1717 --year-range "2023-2025"
1818# This version should be kept in sync with the version in buf.yaml
19- PROTOVALIDATE_VERSION ?= v0.13.3
19+ PROTOVALIDATE_VERSION ?= v0.14.0
2020# Version of the cel-spec that this implementation is conformant with
2121# This should be kept in sync with the version in format_test.py
2222CEL_SPEC_VERSION ?= v0.24.0
@@ -37,8 +37,8 @@ clean: ## Delete intermediate build artifacts
3737.PHONY : generate
3838generate : $(BIN ) /buf $(BIN ) /license-header # # Regenerate code and license headers
3939 rm -rf gen
40- $(BIN ) /buf generate https://github.com /bufbuild/protovalidate.git#branch=next,subdir=proto/protovalidate
41- $(BIN ) /buf generate https://github.com /bufbuild/protovalidate.git#branch=next,subdir=proto/protovalidate -testing
40+ $(BIN ) /buf generate buf.build /bufbuild/protovalidate: $( PROTOVALIDATE_VERSION )
41+ $(BIN ) /buf generate buf.build /bufbuild/protovalidate-testing: $( PROTOVALIDATE_VERSION )
4242 $(BIN ) /buf generate buf.build/google/cel-spec:$(CEL_SPEC_VERSION ) --exclude-path cel/expr/conformance/proto2 --exclude-path cel/expr/conformance/proto3
4343 $(BIN ) /buf generate
4444 $(ADD_LICENSE_HEADER )
@@ -90,4 +90,4 @@ $(BIN)/license-header: $(BIN) Makefile
9090 go install github.com/bufbuild/buf/private/pkg/licenseheader/cmd/license-header@latest
9191
9292$(BIN ) /protovalidate-conformance : $(BIN ) Makefile
93- go install github.com/bufbuild/protovalidate/tools/protovalidate-conformance@next
93+ go install github.com/bufbuild/protovalidate/tools/protovalidate-conformance@$( PROTOVALIDATE_VERSION )
0 commit comments