You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by ti...@apache.org on 2025/02/07 01:34:58 UTC
(opendal) 01/01: ci(website): avoid including rc when calculate the latest version
This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch tisonkun-patch-1
in repository https://gitbox.apache.org/repos/asf/opendal.git
commit 7ee7658de96d809a01d899f730910757aed86213
Author: tison <wa...@gmail.com>
AuthorDate: Fri Feb 7 09:34:53 2025 +0800
ci(website): avoid including rc when calculate the latest version
---
website/docusaurus.config.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index 7b1f69064..7de64b4e1 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -56,7 +56,7 @@ const config = {
}
const refName = exec(
- "git describe --tags --abbrev=0 --match 'v*'",
+ "git describe --tags --abbrev=0 --match 'v*' --exclude '*rc*'",
).toString();
const version = semver.parse(refName, {}, true);
return `${version.major}.${version.minor}.${version.patch}`;