repo-tools: report actual package version

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-04-17 10:34:59 +02:00
parent 54f741d1f0
commit 30d3f4e6ca
+2 -1
View File
@@ -24,9 +24,10 @@ import { program } from 'commander';
import chalk from 'chalk';
import { exitWithError } from './lib/errors';
import { registerCommands } from './commands';
import { version } from '../package.json';
const main = (argv: string[]) => {
program.name('backstage-repo-tools').version('1.0');
program.name('backstage-repo-tools').version(version);
registerCommands(program);