This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new af802552d fix(ci): update website_build.sh for new versioning scheme
(#1972)
af802552d is described below
commit af802552dd0cd5a4475482b543b3df121fcf05bf
Author: David Li <[email protected]>
AuthorDate: Mon Jul 8 09:18:45 2024 +0900
fix(ci): update website_build.sh for new versioning scheme (#1972)
Fixes #1967.
---
ci/scripts/website_build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ci/scripts/website_build.sh b/ci/scripts/website_build.sh
index acbf22659..90c04ee93 100755
--- a/ci/scripts/website_build.sh
+++ b/ci/scripts/website_build.sh
@@ -84,7 +84,7 @@ main() {
popd
# Determine the latest stable version
- local -r latest_docs=$(grep -E ';[0-9]+\.[0-9]+\.[0-9]+$'
"${site}/versions.txt" | sort -t ';' --version-sort | tail -n1)
+ local -r latest_docs=$(grep -E ';[0-9]+(\.[0-9]+\.[0-9]+)?$'
"${site}/versions.txt" | sort -t ';' --version-sort | tail -n1)
if [[ -z "${latest_docs}" ]]; then
echo "No stable versions found"
local -r latest_dir="main"