Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 41 additions & 2 deletions src/constant/download.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,46 @@ export type AllVersionOption = {
};

export const ALL_VERSIONS: AllVersionOption[] = [
{
label: '4.0',
value: '4.0',
children: [
{
label: '4.0.0',
value: '4.0.0',
majorVersion: '4.0',
items: [
{
label: CPUEnum.X64,
value: CPUEnum.X64,
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://dist.apache.org/repos/dist/release/doris/4.0/4.0.0/',
version: '4.0.0-rc02',
},
{
label: CPUEnum.X64NoAvx2,
value: CPUEnum.X64NoAvx2,
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://dist.apache.org/repos/dist/release/doris/4.0/4.0.0/',
version: '4.0.0-rc02',
},
{
label: CPUEnum.ARM64,
value: CPUEnum.ARM64,
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://dist.apache.org/repos/dist/release/doris/4.0/4.0.0/',
version: '4.0.0-rc02',
},
],
},
],
},
{
label: '3.1',
value: '3.1',
Expand All @@ -164,7 +204,7 @@ export const ALL_VERSIONS: AllVersionOption[] = [
value: '3.1.1',
majorVersion: '3.1',
items: [
{
{
label: CPUEnum.X64,
value: CPUEnum.X64,
gz: `${ORIGIN}apache-doris-3.1.1-bin-x64.tar.gz`,
Expand Down Expand Up @@ -225,7 +265,6 @@ export const ALL_VERSIONS: AllVersionOption[] = [
source: 'https://downloads.apache.org/doris/3.1/3.1.0/',
version: '3.1.0',
},

],
},
],
Expand Down
5 changes: 4 additions & 1 deletion src/pages/download/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(`/docs/dev/releasenotes/v${values.version[0]}/release-${values.version[1]}`)
}
else {
setReleaseNote(`/docs/releasenotes/v${values.version[0]}/release-${values.version[1]}`);
}
}
Expand Down