27 lines
816 B
Diff
27 lines
816 B
Diff
diff --git a/docs/BUILD.bazel b/docs/BUILD.bazel
|
|
index 2bdbf6e..418dd13 100644
|
|
--- a/docs/BUILD.bazel
|
|
+++ b/docs/BUILD.bazel
|
|
@@ -97,7 +97,7 @@ set -euo pipefail
|
|
short_commit="$${SHORT_COMMIT}"
|
|
commit="$${COMMIT}"
|
|
release="$${RELEASE}"
|
|
-if [[ -n "\\$${RELEASE}" ]]; then
|
|
+if [[ -n "\\$${RELEASE:-}" ]]; then
|
|
release="\\$${RELEASE}"
|
|
fi
|
|
mkdir -p \\$${BUILD_WORKSPACE_DIRECTORY}/src
|
|
diff --git a/docs/.bazelrc b/docs/.bazelrc
|
|
index dc6a3f7..9eb0697 100644
|
|
--- a/docs/.bazelrc
|
|
+++ b/docs/.bazelrc
|
|
@@ -1,3 +1,7 @@
|
|
-# Bazel configuration flags for rules_foregin_cc_docs
|
|
+# Bazel configuration flags for rules_foreign_cc_docs
|
|
|
|
+# https://github.com/bazelbuild/stardoc/issues/112
|
|
+common --incompatible_allow_tags_propagation
|
|
+
|
|
+common --noenable_bzlmod
|
|
build --workspace_status_command=tools/workspace_status.sh
|