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 47abd5528d0 update build scripts BUILD_VERSIONS=2.10.x,2.9.x,2.8.x
47abd5528d0 is described below

commit 47abd5528d072e8e2ad1078a42dc52c46e717321
Author: Li Li <[email protected]>
AuthorDate: Mon Aug 22 11:20:30 2022 +0800

    update build scripts BUILD_VERSIONS=2.10.x,2.9.x,2.8.x
    
    Signed-off-by: Li Li <[email protected]>
---
 site2/website-next/scripts/replace.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/site2/website-next/scripts/replace.js 
b/site2/website-next/scripts/replace.js
index 6044032b9eb..f114cc5b1ca 100644
--- a/site2/website-next/scripts/replace.js
+++ b/site2/website-next/scripts/replace.js
@@ -39,8 +39,7 @@ function getRealVersion(version) {
     })[0];
     versionMap[key] = _tKey;
   }
-  console.log("..., ", versionMap);
-  return versionMap[version];
+  return versionMap[version] || version;
 }
 
 function downloadPageUrl() {

Reply via email to