mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
Create //rust:release alias for building release crates
This follows the convention we use for other languages. This CL also renames release.sh to publish_release.sh to avoid confusion. PiperOrigin-RevId: 733335784
This commit is contained in:
parent
7a4ffa9a29
commit
716d062d4c
3 changed files with 8 additions and 2 deletions
|
|
@ -290,3 +290,8 @@ pkg_filegroup(
|
|||
prefix = "libupb",
|
||||
visibility = ["//rust/release_crates:__subpackages__"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "release",
|
||||
actual = "//rust/release_crates:crates",
|
||||
)
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ filegroup(
|
|||
"//rust/release_crates/protobuf_macros:protobuf_macros_crate",
|
||||
"//rust/release_crates/protobuf_well_known_types:crate",
|
||||
],
|
||||
visibility = ["//rust:__pkg__"],
|
||||
)
|
||||
|
||||
# Run the cargo test with only a bundled linux-x86_64 protoc.
|
||||
|
|
@ -24,8 +25,8 @@ sh_binary(
|
|||
)
|
||||
|
||||
sh_binary(
|
||||
name = "release",
|
||||
srcs = ["release.sh"],
|
||||
name = "publish_release",
|
||||
srcs = ["publish_release.sh"],
|
||||
data = [
|
||||
":crates",
|
||||
"//:protoc",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue