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/07/08 06:50:05 UTC

[pulsar-site] branch main updated: fix scripts force build BUILD_VERSIONS=2.10.0

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 66197273ccc fix scripts force build BUILD_VERSIONS=2.10.0
66197273ccc is described below

commit 66197273ccc7686569a5eb89dead8b707fb20f8a
Author: Li Li <ur...@apache.org>
AuthorDate: Fri Jul 8 14:49:48 2022 +0800

    fix scripts force build BUILD_VERSIONS=2.10.0
    
    Signed-off-by: Li Li <ur...@apache.org>
---
 site2/website-next/scripts/split-version-build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/site2/website-next/scripts/split-version-build.sh b/site2/website-next/scripts/split-version-build.sh
index df4bd3fa645..a5255dc4dba 100755
--- a/site2/website-next/scripts/split-version-build.sh
+++ b/site2/website-next/scripts/split-version-build.sh
@@ -57,9 +57,9 @@ FORCE_CROWDIN_ALL=$(echo $COMMIT_MSG | sed 's/.*CROWDIN_ALL=\([0-1]*\).*/\1/g')
 FORCE_CROWDIN_UP=$(echo $COMMIT_MSG | sed 's/.*CROWDIN_UP=\([0-1]*\).*/\1/g')
 FORCE_CROWDIN_DOWN=$(echo $COMMIT_MSG | sed 's/.*CROWDIN_DOWN=\([0-1]*\).*/\1/g')
 if [[ $FORCE_BUILD_VERSIONS =~ ^[0-9\.]+$ ]]; then
-    $SUPPLEMENT_VERSIONS=$FORCE_BUILD_VERSIONS
+    SUPPLEMENT_VERSIONS=$FORCE_BUILD_VERSIONS
 else
-    $SUPPLEMENT_VERSIONS=""
+    SUPPLEMENT_VERSIONS=""
 fi
 
 yarn write-translations