Skip to content

Commit

Permalink
Mark release targets as manual
Browse files Browse the repository at this point in the history
  • Loading branch information
mkruskal-google committed Jan 21, 2023
1 parent 9f44add commit f91352a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ruby/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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"],
Expand All @@ -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
Expand All @@ -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"],
Expand Down

0 comments on commit f91352a

Please sign in to comment.