@@ -47,7 +47,7 @@ index 3a91e41..14c8e3b 100644
47
47
name = "rules_foreign_cc",
48
48
- sha256 = "d54742ffbdc6924f222d2179f0e10e911c5c659c4ae74158e9fe827aad862ac6",
49
49
- strip_prefix = "rules_foreign_cc-0.2.0",
50
- - url = "https://github.com/bazel-contrib /rules_foreign_cc/archive/0.2.0.tar.gz",
50
+ - url = "https://github.com/bazelbuild /rules_foreign_cc/archive/0.2.0.tar.gz",
51
51
+ # TODO: Get the latest sha256 value from the latest release on the releases page
52
52
+ # https://github.com/bazel-contrib/rules_foreign_cc/releases
53
53
+ #
@@ -93,3 +93,33 @@ index 0000000..9eb0697
93
93
+
94
94
+ common --noenable_bzlmod
95
95
+ build --workspace_status_command=tools/workspace_status.sh
96
+ diff --git a/docs/stardoc_repository.bzl b/docs/stardoc_repository.bzl
97
+ index 2153aa8..7c63be7 100644
98
+ --- a/docs/stardoc_repository.bzl
99
+ +++ b/docs/stardoc_repository.bzl
100
+ @@ -7,9 +7,9 @@ def stardoc_repository():
101
+ maybe(
102
+ http_archive,
103
+ name = "io_bazel_stardoc",
104
+ + sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
105
+ urls = [
106
+ - "https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
107
+ + "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
108
+ + "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
109
+ ],
110
+ - sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
111
+ - strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
112
+ )
113
+ diff --git a/docs/tools/workspace_status.sh b/docs/tools/workspace_status.sh
114
+ new file mode 100755
115
+ index 0000000..5ceb3f7
116
+ --- /dev/null
117
+ +++ b/docs/tools/workspace_status.sh
118
+ @@ -0,0 +1,7 @@
119
+ + #!/usr/bin/env bash
120
+ +
121
+ + set -euo pipefail
122
+ +
123
+ + echo STABLE_SCM_SHORT_VERSION "$(git rev-parse --short HEAD)"
124
+ + echo STABLE_SCM_VERSION "$(git rev-parse HEAD)"
125
+ + echo STABLE_RELEASE "$(cat ../version.bzl | grep VERSION | sed 's/VERSION = "//' | sed 's/"//')"
0 commit comments