Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
publish-to-bcr-bot[bot] and alexeagle authored Nov 6, 2024
1 parent f300b51 commit 98c5409
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 1 deletion.
19 changes: 19 additions & 0 deletions modules/rules_proto/7.0.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"Bazel dependencies"

module(
name = "rules_proto",
# Note: the publish-to-BCR app will patch this line to stamp the version being published.
version = "7.0.0",
compatibility_level = 1,
)

bazel_dep(name = "protobuf", version = "27.1", repo_name = "com_google_protobuf")
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "rules_cc", version = "0.0.14")
bazel_dep(name = "rules_license", version = "0.0.7")

# Dependencies needed in tests
bazel_dep(name = "stardoc", version = "0.7.1", dev_dependency = True, repo_name = "io_bazel_stardoc")
bazel_dep(name = "rules_shell", version = "0.2.0", dev_dependency = True) # only used in docs
bazel_dep(name = "platforms", version = "0.0.8", dev_dependency = True)
bazel_dep(name = "googletest", version = "1.11.0", dev_dependency = True, repo_name = "com_google_googletest")
14 changes: 14 additions & 0 deletions modules/rules_proto/7.0.0/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -2,9 +2,9 @@

module(
name = "rules_proto",
# Note: the publish-to-BCR app will patch this line to stamp the version being published.
- version = "0.0.0",
+ version = "7.0.0",
compatibility_level = 1,
)

bazel_dep(name = "protobuf", version = "27.1", repo_name = "com_google_protobuf")
10 changes: 10 additions & 0 deletions modules/rules_proto/7.0.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
matrix:
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]
bazel: ['7.x', '6.x']
tasks:
verify_build_targets:
name: "Verify build targets"
bazel: ${{ bazel }}
platform: ${{ platform }}
build_targets:
- "@rules_proto//proto/..."
9 changes: 9 additions & 0 deletions modules/rules_proto/7.0.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-jhldu2pQXKTHqvprfP+kf+SaJhsno0IFPPsrlzzEqhI=",
"strip_prefix": "rules_proto-7.0.0",
"url": "https://github.com/bazelbuild/rules_proto/releases/download/7.0.0/rules_proto-7.0.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-1v8ODA1Z09AYSu8SMWdL/qNUa43R7NGrMMpPb8SwSKs="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_proto/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"6.0.0-rc3",
"6.0.0",
"6.0.0.bcr.1",
"6.0.2"
"6.0.2",
"7.0.0"
],
"yanked_versions": {},
"repository": [
Expand Down

0 comments on commit 98c5409

Please sign in to comment.