From f91352a479902a0fa5d37d65d14c3eb8b268d385 Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Fri, 20 Jan 2023 16:07:22 -0800 Subject: [PATCH] Mark release targets as manual --- ruby/BUILD.bazel | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ruby/BUILD.bazel b/ruby/BUILD.bazel index bfaa58abcd754..533185473a1f6 100755 --- a/ruby/BUILD.bazel +++ b/ruby/BUILD.bazel @@ -37,7 +37,7 @@ genrule( set -eux mkdir tmp for src in $(SRCS); do - rsync -R -L "$$src" tmp + cp --parents -L "$$src" tmp done for wkt in $(execpaths //:well_known_ruby_protos); do mv "tmp/$$wkt" "tmp/ruby/lib/google/protobuf/" @@ -49,6 +49,7 @@ genrule( cd ../.. mv tmp/ruby/google-protobuf-*.gem $@ """, + tags = ["manual"], target_compatible_with = select({ "@rules_ruby//ruby/runtime:config_jruby": [], "//conditions:default": ["@platforms//:incompatible"], @@ -70,7 +71,7 @@ genrule( set -eux mkdir tmp for src in $(SRCS); do - rsync -R -L "$$src" "tmp" + cp --parents -L "$$src" "tmp" done mkdir -p "tmp/ruby/ext/google/protobuf_c/third_party/utf8_range" for utf in $(execpaths @utf8_range//:utf8_range_srcs) $(execpath @utf8_range//:LICENSE); do @@ -85,6 +86,7 @@ genrule( cd ../.. mv tmp/ruby/google-protobuf-*.gem $@ """, + tags = ["manual"], target_compatible_with = select({ "@rules_ruby//ruby/runtime:config_ruby": [], "//conditions:default": ["@platforms//:incompatible"],