Skip to content

Commit

Permalink
Add Kvrocks Controller 1.0.0 to the download page (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
git-hulk authored Jul 23, 2024
1 parent d7993b2 commit f1350d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions sidebarsDownload.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
const sidebars = {
docs: [
'index',
'kvrocks-controller',
'third-party-packages',
],
};
Expand Down
9 changes: 7 additions & 2 deletions src/components/Releases/kvrocks-controller.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import React from "react";

const controller_versions = []
const controller_versions = [
{
version: '1.0.0',
vtag: '1.0.0'
},
]

type ReleaseData = {
name: string,
Expand All @@ -11,7 +16,7 @@ type ReleaseData = {

function createReleaseData(version: string, vtag?: string): ReleaseData {
const fixedVTag = vtag ?? version;
const archive = `https://downloads.apache.org/kvrocks/kvrocks-controller/${version}/apache-kvrocks-controller-${fixedVTag}-src.tar.gz`
const archive = `https://downloads.apache.org/kvrocks/kvrocks-controller/${version}/apache-kvrocks-controller-src-${fixedVTag}.tar.gz`
return {
name: fixedVTag,
archive: archive,
Expand Down

0 comments on commit f1350d8

Please sign in to comment.