File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export GO_BUILD_LDFLAGS := -s -w -X '$(VERSION_PATH).gitCommit=$(GIT_COMMIT)'
2121verify : # # Run downstream-specific verify
2222 $(MAKE ) tidy fmt generate -C $(DIR ) /../
2323 $(MAKE ) manifests
24+ $(MAKE ) -C tests-extension verify-metadata
2425 git diff --exit-code
2526
2627.PHONY : manifests
Original file line number Diff line number Diff line change @@ -143,8 +143,8 @@ clean-metadata: #HELP Remove 'codeLocations' from metadata JSON
143143 @jq ' map(del(.codeLocations))' $(METADATA ) > $(METADATA ) .tmp && mv $(METADATA ) .tmp $(METADATA )
144144
145145.PHONY : verify-metadata # HELP To verify that the metadata was properly update
146- verify-metadata : update-metadata
147- @if ! git diff --exit-code $( METADATA ) ; then \
148- echo " ERROR: Metadata is out of date. Please run 'make build-update' and commit the result." ; \
146+ verify-metadata : update-metadata bindata
147+ @if ! git diff --exit-code >& /dev/null ; then \
148+ echo " ERROR: Metadata or bindata is out of date. Please run 'make build-update' and commit the result." ; \
149149 exit 1; \
150150 fi
You can’t perform that action at this time.
0 commit comments