File tree 13 files changed +166
-1
lines changed
13 files changed +166
-1
lines changed Original file line number Diff line number Diff line change @@ -40,3 +40,16 @@ index 0000000..98bb722
40
40
+ """A module represeting the version of rules_foreign_cc"""
41
41
+
42
42
+ VERSION = "0.1.0"
43
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
44
+ new file mode 100644
45
+ index 0000000..9eb0697
46
+ --- /dev/null
47
+ +++ b/docs/.bazelrc
48
+ @@ -0,0 +1,7 @@
49
+ + # Bazel configuration flags for rules_foreign_cc_docs
50
+ +
51
+ + # https://github.com/bazelbuild/stardoc/issues/112
52
+ + common --incompatible_allow_tags_propagation
53
+ +
54
+ + common --noenable_bzlmod
55
+ + build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change
1
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
2
+ index dc6a3f7..9eb0697 100644
3
+ --- a/docs/.bazelrc
4
+ +++ b/docs/.bazelrc
5
+ @@ -1,3 +1,7 @@
6
+ - # Bazel configuration flags for rules_foregin_cc_docs
7
+ + # Bazel configuration flags for rules_foreign_cc_docs
8
+
9
+ + # https://github.com/bazelbuild/stardoc/issues/112
10
+ + common --incompatible_allow_tags_propagation
11
+ +
12
+ + common --noenable_bzlmod
13
+ build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change @@ -40,3 +40,16 @@ index 0000000..98bb722
40
40
+ """A module represeting the version of rules_foreign_cc"""
41
41
+
42
42
+ VERSION = "0.2.0"
43
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
44
+ new file mode 100644
45
+ index 0000000..9eb0697
46
+ --- /dev/null
47
+ +++ b/docs/.bazelrc
48
+ @@ -0,0 +1,7 @@
49
+ + # Bazel configuration flags for rules_foreign_cc_docs
50
+ +
51
+ + # https://github.com/bazelbuild/stardoc/issues/112
52
+ + common --incompatible_allow_tags_propagation
53
+ +
54
+ + common --noenable_bzlmod
55
+ + build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change @@ -80,3 +80,16 @@ index 0000000..98bb722
80
80
+ """A module represeting the version of rules_foreign_cc"""
81
81
+
82
82
+ VERSION = "0.3.0"
83
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
84
+ new file mode 100644
85
+ index 0000000..9eb0697
86
+ --- /dev/null
87
+ +++ b/docs/.bazelrc
88
+ @@ -0,0 +1,7 @@
89
+ + # Bazel configuration flags for rules_foreign_cc_docs
90
+ +
91
+ + # https://github.com/bazelbuild/stardoc/issues/112
92
+ + common --incompatible_allow_tags_propagation
93
+ +
94
+ + common --noenable_bzlmod
95
+ + build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change @@ -11,3 +11,16 @@ index 2bdbf6e..418dd13 100644
11
11
release="\\$${RELEASE}"
12
12
fi
13
13
mkdir -p \\$${BUILD_WORKSPACE_DIRECTORY}/src
14
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
15
+ index dc6a3f7..9eb0697 100644
16
+ --- a/docs/.bazelrc
17
+ +++ b/docs/.bazelrc
18
+ @@ -1,3 +1,7 @@
19
+ - # Bazel configuration flags for rules_foregin_cc_docs
20
+ + # Bazel configuration flags for rules_foreign_cc_docs
21
+
22
+ + # https://github.com/bazelbuild/stardoc/issues/112
23
+ + common --incompatible_allow_tags_propagation
24
+ +
25
+ + common --noenable_bzlmod
26
+ build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change
1
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
2
+ index dc6a3f7..9eb0697 100644
3
+ --- a/docs/.bazelrc
4
+ +++ b/docs/.bazelrc
5
+ @@ -1,3 +1,7 @@
6
+ - # Bazel configuration flags for rules_foregin_cc_docs
7
+ + # Bazel configuration flags for rules_foreign_cc_docs
8
+
9
+ + # https://github.com/bazelbuild/stardoc/issues/112
10
+ + common --incompatible_allow_tags_propagation
11
+ +
12
+ + common --noenable_bzlmod
13
+ build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change
1
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
2
+ index dc6a3f7..9eb0697 100644
3
+ --- a/docs/.bazelrc
4
+ +++ b/docs/.bazelrc
5
+ @@ -1,3 +1,7 @@
6
+ - # Bazel configuration flags for rules_foregin_cc_docs
7
+ + # Bazel configuration flags for rules_foreign_cc_docs
8
+
9
+ + # https://github.com/bazelbuild/stardoc/issues/112
10
+ + common --incompatible_allow_tags_propagation
11
+ +
12
+ + common --noenable_bzlmod
13
+ build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change
1
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
2
+ index dc6a3f7..9eb0697 100644
3
+ --- a/docs/.bazelrc
4
+ +++ b/docs/.bazelrc
5
+ @@ -1,3 +1,7 @@
6
+ - # Bazel configuration flags for rules_foregin_cc_docs
7
+ + # Bazel configuration flags for rules_foreign_cc_docs
8
+
9
+ + # https://github.com/bazelbuild/stardoc/issues/112
10
+ + common --incompatible_allow_tags_propagation
11
+ +
12
+ + common --noenable_bzlmod
13
+ build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change
1
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
2
+ index dc6a3f7..9eb0697 100644
3
+ --- a/docs/.bazelrc
4
+ +++ b/docs/.bazelrc
5
+ @@ -1,3 +1,7 @@
6
+ - # Bazel configuration flags for rules_foregin_cc_docs
7
+ + # Bazel configuration flags for rules_foreign_cc_docs
8
+
9
+ + # https://github.com/bazelbuild/stardoc/issues/112
10
+ + common --incompatible_allow_tags_propagation
11
+ +
12
+ + common --noenable_bzlmod
13
+ build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change
1
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
2
+ index dc6a3f7..9eb0697 100644
3
+ --- a/docs/.bazelrc
4
+ +++ b/docs/.bazelrc
5
+ @@ -1,3 +1,7 @@
6
+ - # Bazel configuration flags for rules_foregin_cc_docs
7
+ + # Bazel configuration flags for rules_foreign_cc_docs
8
+
9
+ + # https://github.com/bazelbuild/stardoc/issues/112
10
+ + common --incompatible_allow_tags_propagation
11
+ +
12
+ + common --noenable_bzlmod
13
+ build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change
1
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
2
+ index dc6a3f7..9eb0697 100644
3
+ --- a/docs/.bazelrc
4
+ +++ b/docs/.bazelrc
5
+ @@ -1,3 +1,7 @@
6
+ - # Bazel configuration flags for rules_foregin_cc_docs
7
+ + # Bazel configuration flags for rules_foreign_cc_docs
8
+
9
+ + # https://github.com/bazelbuild/stardoc/issues/112
10
+ + common --incompatible_allow_tags_propagation
11
+ +
12
+ + common --noenable_bzlmod
13
+ build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change
1
+ diff --git a/docs/.bazelrc b/docs/.bazelrc
2
+ index dc6a3f7..9eb0697 100644
3
+ --- a/docs/.bazelrc
4
+ +++ b/docs/.bazelrc
5
+ @@ -1,3 +1,7 @@
6
+ - # Bazel configuration flags for rules_foregin_cc_docs
7
+ + # Bazel configuration flags for rules_foreign_cc_docs
8
+
9
+ + # https://github.com/bazelbuild/stardoc/issues/112
10
+ + common --incompatible_allow_tags_propagation
11
+ +
12
+ + common --noenable_bzlmod
13
+ build --workspace_status_command=tools/workspace_status.sh
Original file line number Diff line number Diff line change @@ -44,10 +44,19 @@ jobs:
44
44
if : ${{ matrix.ref == 'main' }}
45
45
- name : Patch older branches
46
46
run : |
47
+ ref="${{ matrix.ref }}"
48
+
49
+ [[ "$ref" == "main" ]] && exit
50
+
51
+ v_major="$(echo "$ref" | cut -d. -f1)"
52
+ v_minor="$(echo "$ref" | cut -d. -f2)"
53
+ v_patch="$(echo "$ref" | cut -d. -f3)"
54
+
55
+ [[ $v_major -gt 10 ]] && exit
56
+
47
57
mkdir -p ${{ github.workspace }}/.github
48
58
curl https://raw.githubusercontent.com/bazelbuild/rules_foreign_cc/main/.github/docs-${{ matrix.ref }}.patch > ${{ github.workspace }}/.github/docs-${{ matrix.ref }}.patch
49
59
git apply ${{ github.workspace }}/.github/docs-${{ matrix.ref }}.patch
50
- if : ${{ matrix.ref == '0.4.0' || matrix.ref == '0.3.0' || matrix.ref == '0.2.0' || matrix.ref == '0.1.0' }}
51
60
- name : Install bazelisk
52
61
run : |
53
62
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.9.0/bazelisk-linux-amd64"
You can’t perform that action at this time.
0 commit comments