This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 3bc8b1700c3 fix: release json gen script does not work (#271)
3bc8b1700c3 is described below
commit 3bc8b1700c3b8424a0b338f29f7f8c108cc2e544
Author: Mercurio <[email protected]>
AuthorDate: Mon Oct 31 16:14:57 2022 +0800
fix: release json gen script does not work (#271)
---
site2/tools/build-site.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/site2/tools/build-site.sh b/site2/tools/build-site.sh
index a12d0f9e753..56f7bf58405 100755
--- a/site2/tools/build-site.sh
+++ b/site2/tools/build-site.sh
@@ -31,6 +31,10 @@ VERSION=next
export NODE_OPTIONS="--max-old-space-size=16000"
"$TOOLS_DIR"/generate-api-docs.sh
+
+# Generate document for release table.
+"$TOOLS_DIR"/release-json-gen.sh "$GH_TOKEN" "$WEBSITE_DIR"
+
cd "$WEBSITE_DIR"
npm install
@@ -47,8 +51,6 @@ bash scripts/split-version-build.sh $@
"$TOOLS_DIR"/pulsar-perf-doc-gen.sh "$WEBSITE_DIR" "$VERSION"
"$TOOLS_DIR"/pulsar-doc-gen.sh "$WEBSITE_DIR" "$VERSION"
"$TOOLS_DIR"/pulsar-config-doc-gen.sh "$WEBSITE_DIR" "$VERSION"
-# Generate document for release table.
-"$TOOLS_DIR"/release-json-gen.sh "$GH_TOKEN" "$WEBSITE_DIR"
cd "$WEBSITE_DIR"
CONTENT_DIR="$GEN_SITE_DIR"/content