Mark release targets as manual

pull/11619/head
Mike Kruskal 2 years ago
parent 9f44add4bc
commit f91352a479
  1. 6
      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"],

Loading…
Cancel
Save