Skip to content

Commit c628487

Browse files
authored
Add version display to DatabaseConfigApp and create version file (#55)
1 parent 6f1d833 commit c628487

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/components/DatabaseConfigApp.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
kafkaConfigFields,
1414
openSearchConfigFields
1515
} from '../config';
16+
import { VERSION } from '../version';
1617

1718
// Calculate configuration option counts for each database type
1819
const configCounts = {
@@ -174,6 +175,8 @@ const DatabaseConfigApp = () => {
174175
>
175176
View on GitHub
176177
</a>
178+
<span className="mx-2"></span>
179+
<span className="text-gray-500">v{VERSION}</span>
177180
</p>
178181
</div>
179182
</div>

src/version.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// This file is automatically updated by our release process
2+
export const VERSION = '1.4.0';
3+
export const BUILD_DATE = new Date().toISOString();

0 commit comments

Comments
 (0)