diff --git a/Makefile b/Makefile index 6d1b42bcfd..6752220fb4 100644 --- a/Makefile +++ b/Makefile @@ -89,7 +89,7 @@ vendorcheck: ./verify-vendor.sh .PHONY: check -check: cross build_e2e_all $(HOST_BUILD_DIR)/crc-embedder test cross-lint vendorcheck build_integration_all +check: cross build_e2e_all $(HOST_BUILD_DIR)/crc-embedder test cross-lint check-release-info vendorcheck build_integration_all # Start of the actual build targets @@ -292,6 +292,9 @@ gen_release_info: @sed -i s/@GIT_COMMIT_SHA@/$(COMMIT_SHA)/ $(RELEASE_INFO) @sed -i s/@OPENSHIFT_VERSION@/$(OPENSHIFT_VERSION)/ $(RELEASE_INFO) +check-release-info: gen_release_info + cat $(RELEASE_INFO) |jq . + .PHONY: linux-release-binary macos-release-binary windows-release-binary linux-release-binary: LDFLAGS+= $(RELEASE_VERSION_VARIABLES) linux-release-binary: $(BUILD_DIR)/linux-amd64/crc