Merge pull request #17404 from backstage/rugvip/version

repo-tools: report actual package version
This commit is contained in:
Johan Haals
2023-04-17 15:51:36 +02:00
committed by GitHub
+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);