This is an automated email from the ASF dual-hosted git repository.
twice pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kvrocks-website.git
The following commit(s) were added to refs/heads/main by this push:
new 6dd5b821 Add GitHub release note link to release data (#340)
6dd5b821 is described below
commit 6dd5b8214ee521971ffc8e218792cad434c4025f
Author: Twice <[email protected]>
AuthorDate: Fri Nov 21 10:40:02 2025 +0800
Add GitHub release note link to release data (#340)
---
src/components/Releases/index.tsx | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/components/Releases/index.tsx
b/src/components/Releases/index.tsx
index 3a0e0100..0b81c7a2 100644
--- a/src/components/Releases/index.tsx
+++ b/src/components/Releases/index.tsx
@@ -80,17 +80,21 @@ type ReleaseData = {
archive: string,
checksum: string,
signature: string,
+ github: string,
}
function createReleaseData(version: string, vtag?: string): ReleaseData {
const fixedVTag = vtag ?? version;
const tarballURL =
`https://www.apache.org/dyn/closer.lua/kvrocks/${version}/apache-kvrocks-${fixedVTag}-src.tar.gz`
const signURL =
`https://downloads.apache.org/kvrocks/${version}/apache-kvrocks-${fixedVTag}-src.tar.gz`
+ const githubURL =
`https://github.com/apache/kvrocks/releases/tag/v${version}`
+
return {
name: fixedVTag,
archive: tarballURL,
checksum: `${signURL}.sha512`,
signature: `${signURL}.asc`,
+ github: githubURL,
};
}
@@ -104,6 +108,7 @@ export default function Releases(): JSX.Element {
<th><b>Archive</b></th>
<th><b>Checksum</b></th>
<th><b>Signature</b></th>
+ <th><b>GitHub</b></th>
</tr>
</thead>
<tbody>
@@ -113,6 +118,7 @@ export default function Releases(): JSX.Element {
<td><a href={v.archive}>tarball</a></td>
<td><a href={v.checksum}>sha512</a></td>
<td><a href={v.signature}>asc</a></td>
+ <td><a href={v.github}>release note</a></td>
</tr>
))}
</tbody>