You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/10/31 06:27:47 UTC

[pulsar-site] branch main updated: Fix the release json gen workflow (#269)

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 626db9bab91 Fix the release json gen workflow (#269)
626db9bab91 is described below

commit 626db9bab91f80ae7a90eff4354a8699c42f97f6
Author: Mercurio <32...@users.noreply.github.com>
AuthorDate: Mon Oct 31 14:27:42 2022 +0800

    Fix the release json gen workflow (#269)
---
 site2/tools/build-site.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/site2/tools/build-site.sh b/site2/tools/build-site.sh
old mode 100644
new mode 100755
index b73457d407d..3ad6203b506
--- a/site2/tools/build-site.sh
+++ b/site2/tools/build-site.sh
@@ -47,11 +47,10 @@ 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
 rm -rf "$CONTENT_DIR" && mkdir -p "$CONTENT_DIR"
 rsync -a ./build/ "$CONTENT_DIR"
-
-# Generate document for release table
-"$TOOLS_DIR"/release-json-gen.sh "$GH_TOKEN" "$WEBSITE_DIR"