From b1fe119ea45216b4e6682d45d8b069b07adb7587 Mon Sep 17 00:00:00 2001 From: Tony Aiuto Date: Thu, 9 Feb 2023 10:46:46 -0500 Subject: [PATCH] echo version in the version check --- tests/BUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/BUILD b/tests/BUILD index 696dd6d..917870f 100644 --- a/tests/BUILD +++ b/tests/BUILD @@ -7,7 +7,10 @@ package(default_visibility = ["//visibility:private"]) # run linux, so we will still catch a mismatch. genrule( name = "versions_match", - cmd = """grep 'version = "%s",' $(location //:MODULE.bazel) >$(location :found_it)""" % version, + cmd = ";\n".join([ + """echo version: %s""" % version, + """grep 'version = "%s",' $(location //:MODULE.bazel) >$(location :found_it)""" % version, + ]), outs = ["found_it"], tools = [ "//:MODULE.bazel",