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 3ff0450dd75 update build script
3ff0450dd75 is described below

commit 3ff0450dd751974773aece62934b07622ca1196b
Author: Li Li <[email protected]>
AuthorDate: Wed May 11 10:28:29 2022 +0800

    update build script
    
    Signed-off-by: Li Li <[email protected]>
---
 site2/website-next/scripts/split-version-build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/site2/website-next/scripts/split-version-build.sh 
b/site2/website-next/scripts/split-version-build.sh
index 04f066b8bef..64b9bc9aca9 100755
--- a/site2/website-next/scripts/split-version-build.sh
+++ b/site2/website-next/scripts/split-version-build.sh
@@ -21,10 +21,11 @@ function _build() {
 }
 
 function _buildVersion() {
-    echo "..." $buildVersion "begin build..."
     if [[ $buildVersion = "next" ]]; then
+        echo "..." ${buildVersion} "and" $latest" begin build..."
         echo "[\"current\", \"${latest}\"]" >.build-versions.json
     else
+        echo "..." $buildVersion "begin build..."
         echo "[\"${buildVersion}\"]" >.build-versions.json
     fi
 

Reply via email to