Skip to content

Commit a3596b8

Browse files
avdvWyverald
andauthored
Set bazel_compatibility for rules_sh (#1225)
* Set bazel_compatibility for rules_sh * fix version constraint * Use Bazel 6.x --------- Co-authored-by: Xùdōng Yáng <[email protected]>
1 parent c94e80c commit a3596b8

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

modules/rules_sh/0.3.0/MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module(
22
name = "rules_sh",
33
version = "0.3.0",
44
compatibility_level = 0,
5+
bazel_compatibility = ["<7.0.0"],
56
)
67

78
bazel_dep(name = "bazel_skylib", version = "1.0.3")
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- a/MODULE.bazel 2023-12-21 15:17:24.505121545 +0100
2+
+++ b/MODULE.bazel 2023-12-21 15:18:30.143846744 +0100
3+
@@ -2,6 +2,7 @@
4+
name = "rules_sh",
5+
version = "0.3.0",
6+
compatibility_level = 0,
7+
+ bazel_compatibility = ["<7.0.0"],
8+
)
9+
10+
bazel_dep(name = "bazel_skylib", version = "1.0.3")

modules/rules_sh/0.3.0/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
bazel: 6.x
2+
13
platforms:
24
centos7:
35
build_targets:

modules/rules_sh/0.3.0/source.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"integrity": "sha256-1mi7MvES6tacWL3iyuYva4rO/nWajJWi2A/2qFr1rF4=",
33
"patches": {
4-
"fix-version.patch": "sha256-vuiWtL/kOuvY21YfugksYny4epKIn+KvqVivfGQOXXM="
4+
"fix-version.patch": "sha256-vuiWtL/kOuvY21YfugksYny4epKIn+KvqVivfGQOXXM=",
5+
"bazel-compatibility.patch": "sha256-dGr84L4Fdai7lLa6Byj4hV8uGFCAFnPhAJcu0V7q8hk="
56
},
67
"patch_strip": 1,
78
"strip_prefix": "rules_sh-0.3.0",

0 commit comments

Comments
 (0)