Skip to content

Commit f6c0767

Browse files
Rename protoc_static for release
PiperOrigin-RevId: 514500346
1 parent 3db15d3 commit f6c0767

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

pkg/BUILD.bazel

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,17 @@ Please refer to our official github site for more installation instructions:
5757
visibility = ["//visibility:private"],
5858
)
5959

60+
genrule(
61+
name = "rename_protoc",
62+
srcs = ["//:protoc_static"],
63+
outs = ["bin/protoc"],
64+
cmd = "cp $< $@",
65+
)
66+
6067
pkg_files(
6168
name = "protoc_files",
62-
srcs = ["//:protoc_static"],
69+
srcs = ["bin/protoc"],
6370
attributes = pkg_attributes(mode = "0555"),
64-
prefix = "bin/",
6571
visibility = ["//visibility:private"],
6672
)
6773

0 commit comments

Comments
 (0)