From 0c99ab70905fa4eaf8bc7b0ca846e12d7bbc6e39 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Fri, 8 Jan 2021 18:01:05 -0800 Subject: Support releasing aarch64 builds. This change works around an issue in rules_pkg, described here: https://github.com/bazelbuild/rules_pkg/pull/263 PiperOrigin-RevId: 350869030 --- tools/bazeldefs/BUILD | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools/bazeldefs/BUILD') diff --git a/tools/bazeldefs/BUILD b/tools/bazeldefs/BUILD index a4a605346..ebe90dfec 100644 --- a/tools/bazeldefs/BUILD +++ b/tools/bazeldefs/BUILD @@ -37,3 +37,11 @@ config_setting( }, visibility = ["//visibility:private"], ) + +genrule( + name = "version", + outs = ["version.txt"], + cmd = "cat bazel-out/stable-status.txt | grep STABLE_VERSION | cut -d' ' -f2- >$@", + stamp = True, + visibility = ["//:sandbox"], +) -- cgit v1.2.3