This is an automated email from the ASF dual-hosted git repository.

ethanfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn-website.git


The following commit(s) were added to refs/heads/main by this push:
     new d9fc29e  [CELEBORN-1295][FOLLOW] Add tm to Celeborn's website for 
older release.
d9fc29e is described below

commit d9fc29ebbc7a2f3379a8caea78944ba6d09d6bb1
Author: mingji <[email protected]>
AuthorDate: Wed Feb 28 15:17:19 2024 +0800

    [CELEBORN-1295][FOLLOW] Add tm to Celeborn's website for older release.
---
 .github/bin/build_docs.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/bin/build_docs.sh b/.github/bin/build_docs.sh
index 412aa06..372a2c9 100755
--- a/.github/bin/build_docs.sh
+++ b/.github/bin/build_docs.sh
@@ -33,14 +33,14 @@ REF_VERSION_NAME="$1"
 DOC_LINK_PATH="$2"
 
 TAR_NAME=${REF_VERSION_NAME##*/}
-DIR_VERSION_NAME=$(echo "$TAR_NAME" | sed -r "s/v*(.*)\.tar\.gz/\1/g")
-TAR_DIR_NAME=incubator-celeborn-$DIR_VERSION_NAME
 
 if [[ "$REF_VERSION_NAME" == *"-tm"* ]] ;then
-    echo "match"
+    DIR_VERSION_NAME=$(echo "$TAR_NAME" | sed -r "s/v*(.*)\.tar\.gz/\1/g")
+    TAR_DIR_NAME=incubator-celeborn-$DOC_LINK_PATH
     wget 
"https://github.com/apache/incubator-celeborn/releases/download/${REF_VERSION_NAME}";
   else
-    echo "not match"
+    DIR_VERSION_NAME=$(echo "$TAR_NAME" | sed -r "s/v*(.*)\.tar\.gz/\1/g")
+    TAR_DIR_NAME=incubator-celeborn-$DIR_VERSION_NAME
     wget 
"https://github.com/apache/incubator-celeborn/archive/refs/${REF_VERSION_NAME}";
 fi
 

Reply via email to