dep-protobuf/patches/protobuf_v29/0001-Update-module-name.patch
Adam Cozzette bb422b1fd5 Move previous_release dependency out of WORKSPACE.bzlmod and into MODULE.bazel
While I was at it, I upgraded the previous release to 29.0.

`PROTOBUF_PREVIOUS_RELEASE` is not currently getting updated, and I deleted it
because I don't see an obvious way of referring to it from `MODULE.bazel`.
Hopefully soon we can drop it from `WORKSPACE` and then the only place to
update will be `MODULE.bazel`.

PiperOrigin-RevId: 743211189
2025-04-02 11:21:57 -07:00

13 lines
405 B
Diff

diff --git a/MODULE.bazel b/MODULE.bazel
index 400186b53..1194db9ca 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -2,7 +2,7 @@
# https://github.com/protocolbuffers/protobuf/issues/14313
module(
- name = "protobuf",
+ name = "com_google_protobuf_previous_release",
version = "29.0", # Automatically updated on release
compatibility_level = 1,
repo_name = "com_google_protobuf",