mirror of
https://github.com/bazelbuild/platforms
synced 2024-11-27 02:43:23 +00:00
echo version in the version check
This commit is contained in:
parent
ce09fb7f5c
commit
b1fe119ea4
|
@ -7,7 +7,10 @@ package(default_visibility = ["//visibility:private"])
|
||||||
# run linux, so we will still catch a mismatch.
|
# run linux, so we will still catch a mismatch.
|
||||||
genrule(
|
genrule(
|
||||||
name = "versions_match",
|
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"],
|
outs = ["found_it"],
|
||||||
tools = [
|
tools = [
|
||||||
"//:MODULE.bazel",
|
"//:MODULE.bazel",
|
||||||
|
|
Loading…
Reference in a new issue