Skip to content

Commit

Permalink
Rename protoc_static for release
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 514500346
  • Loading branch information
mkruskal-google committed Mar 7, 2023
1 parent 3db15d3 commit f6c0767
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkg/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,17 @@ Please refer to our official github site for more installation instructions:
visibility = ["//visibility:private"],
)

genrule(
name = "rename_protoc",
srcs = ["//:protoc_static"],
outs = ["bin/protoc"],
cmd = "cp $< $@",
)

pkg_files(
name = "protoc_files",
srcs = ["//:protoc_static"],
srcs = ["bin/protoc"],
attributes = pkg_attributes(mode = "0555"),
prefix = "bin/",
visibility = ["//visibility:private"],
)

Expand Down

0 comments on commit f6c0767

Please sign in to comment.