This is an automated email from the ASF dual-hosted git repository.
jeffreyh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 19046f0d045 fix:correct source link for v4 (#2981)
19046f0d045 is described below
commit 19046f0d0453f09810e56854f061e0657614a0a3
Author: yangon <[email protected]>
AuthorDate: Mon Oct 20 17:24:53 2025 +0800
fix:correct source link for v4 (#2981)
---
src/constant/download.data.ts | 25 ++++++++++++-------------
src/pages/_download/index.tsx | 2 +-
src/pages/download/index.tsx | 7 +++++--
3 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/src/constant/download.data.ts b/src/constant/download.data.ts
index 5fbcc3c6f08..0334a8f1654 100644
--- a/src/constant/download.data.ts
+++ b/src/constant/download.data.ts
@@ -50,8 +50,8 @@ export const DORIS_VERSIONS: Option[] = [
gz: `${ORIGIN}apache-doris-4.0.0-bin-x64.tar.gz`,
asc: `${ORIGIN}apache-doris-4.0.0-bin-x64.tar.gz.asc`,
sha512: `${ORIGIN}apache-doris-4.0.0-bin-x64.tar.gz.sha512`,
- source: 'https://downloads.apache.org/doris/4.0/4.0.0/',
- version: '4.0.0',
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.0/',
+ version: '4.0.0-rc02',
},
{
label: CPUEnum.X64NoAvx2,
@@ -59,8 +59,8 @@ export const DORIS_VERSIONS: Option[] = [
gz: `${ORIGIN}apache-doris-4.0.0-bin-x64-noavx2.tar.gz`,
asc: `${ORIGIN}apache-doris-4.0.0-bin-x64-noavx2.tar.gz.asc`,
sha512:
`${ORIGIN}apache-doris-4.0.0-bin-x64-noavx2.tar.gz.sha512`,
- source: 'https://downloads.apache.org/doris/4.0/4.0.0/',
- version: '4.0.0',
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.0/',
+ version: '4.0.0-rc02',
},
{
label: CPUEnum.ARM64,
@@ -68,8 +68,8 @@ export const DORIS_VERSIONS: Option[] = [
gz: `${ORIGIN}apache-doris-4.0.0-bin-arm64.tar.gz`,
asc: `${ORIGIN}apache-doris-4.0.0-bin-arm64.tar.gz.asc`,
sha512: `${ORIGIN}apache-doris-4.0.0-bin-arm64.tar.gz.sha512`,
- source: 'https://downloads.apache.org/doris/4.0/4.0.0/',
- version: '4.0.0',
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.0/',
+ version: '4.0.0-rc02',
},
],
},
@@ -204,8 +204,8 @@ export const ALL_VERSIONS: AllVersionOption[] = [
gz: `${ORIGIN}apache-doris-4.0.0-bin-x64.tar.gz`,
asc: `${ORIGIN}apache-doris-4.0.0-bin-x64.tar.gz.asc`,
sha512:
`${ORIGIN}apache-doris-4.0.0-bin-x64.tar.gz.sha512`,
- source:
'https://downloads.apache.org/doris/4.0/4.0.0/',
- version: '4.0.0',
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.0/',
+ version: '4.0.0-rc02',
},
{
label: CPUEnum.X64NoAvx2,
@@ -213,8 +213,8 @@ export const ALL_VERSIONS: AllVersionOption[] = [
gz:
`${ORIGIN}apache-doris-4.0.0-bin-x64-noavx2.tar.gz`,
asc:
`${ORIGIN}apache-doris-4.0.0-bin-x64-noavx2.tar.gz.asc`,
sha512:
`${ORIGIN}apache-doris-4.0.0-bin-x64-noavx2.tar.gz.sha512`,
- source:
'https://downloads.apache.org/doris/4.0/4.0.0/',
- version: '4.0.0',
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.0/',
+ version: '4.0.0-rc02',
},
{
label: CPUEnum.ARM64,
@@ -222,8 +222,8 @@ export const ALL_VERSIONS: AllVersionOption[] = [
gz: `${ORIGIN}apache-doris-4.0.0-bin-arm64.tar.gz`,
asc:
`${ORIGIN}apache-doris-4.0.0-bin-arm64.tar.gz.asc`,
sha512:
`${ORIGIN}apache-doris-4.0.0-bin-arm64.tar.gz.sha512`,
- source:
'https://downloads.apache.org/doris/4.0/4.0.0/',
- version: '4.0.0',
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.0/',
+ version: '4.0.0-rc02',
},
],
},
@@ -299,7 +299,6 @@ export const ALL_VERSIONS: AllVersionOption[] = [
source:
'https://downloads.apache.org/doris/3.1/3.1.0/',
version: '3.1.0',
},
-
],
},
],
diff --git a/src/pages/_download/index.tsx b/src/pages/_download/index.tsx
index 721ea68f963..36731df40cc 100644
--- a/src/pages/_download/index.tsx
+++ b/src/pages/_download/index.tsx
@@ -22,7 +22,7 @@ import DropdownNavbarItem from
'@theme/NavbarItem/DropdownNavbarItem';
const BINARY_VERSION = [
{ label: `${VersionEnum.Latest} ( Latest )`, value: VersionEnum.Latest },
- { label: `${VersionEnum.Prev} ( Stable )`, value: VersionEnum.Prev },
+ { label: `${VersionEnum.Prev}`, value: VersionEnum.Prev },
{ label: `${VersionEnum.Earlier} ( Stable )`, value: VersionEnum.Earlier },
];
diff --git a/src/pages/download/index.tsx b/src/pages/download/index.tsx
index 55e45a84b44..675d5dba89f 100644
--- a/src/pages/download/index.tsx
+++ b/src/pages/download/index.tsx
@@ -23,7 +23,7 @@ import { CheckedIcon } from
'@site/src/components/Icons/checked-icon';
const BINARY_VERSION = [
{ label: `${VersionEnum.Latest} ( Latest )`, value: VersionEnum.Latest },
- { label: `${VersionEnum.Prev} ( Stable )`, value: VersionEnum.Prev },
+ { label: `${VersionEnum.Prev}`, value: VersionEnum.Prev },
{ label: `${VersionEnum.Earlier} ( Stable )`, value: VersionEnum.Earlier }
];
@@ -110,7 +110,10 @@ export default function Download() {
setReleaseNote(`https://github.com/apache/doris/issues/${getIssueCode(values.version[1])}`);
} else if (['3.0', '2.0'].includes(values.version[0])) {
setReleaseNote(`/docs/${values.version[0]}/releasenotes/v${values.version[0]}/release-${values.version[1]}`);
- } else {
+ } else if (values.version[0] === '4.0'){
+
setReleaseNote(`/zh-CN/docs/dev/releasenotes/v${values.version[0]}/release-${values.version[1]}`);
+ }
+ else {
setReleaseNote(`/docs/releasenotes/v${values.version[0]}/release-${values.version[1]}`);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]