From a4670188d4378482b0f6ed0b2b058f94452f3d3b Mon Sep 17 00:00:00 2001 From: Chima Precious Date: Wed, 11 Dec 2024 14:25:59 +0000 Subject: [PATCH] bump package version --- packages/globe_cli/lib/src/command_runner.dart | 2 +- packages/globe_cli/lib/src/commands/update.dart | 2 +- packages/globe_cli/lib/src/package_info.dart | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/globe_cli/lib/src/command_runner.dart b/packages/globe_cli/lib/src/command_runner.dart index 141a384b..56a4dec4 100644 --- a/packages/globe_cli/lib/src/command_runner.dart +++ b/packages/globe_cli/lib/src/command_runner.dart @@ -26,7 +26,7 @@ class GlobeCliCommandRunner extends CompletionCommandRunner { GlobeHttpServer? httpServer, }) : _logger = logger ?? Logger(), _pubUpdater = pubUpdater ?? PubUpdater(), - super(package_info.name, package_info.description) { + super(package_info.executable, package_info.description) { argParser ..addFlag( 'version', diff --git a/packages/globe_cli/lib/src/commands/update.dart b/packages/globe_cli/lib/src/commands/update.dart index 4210bcba..a9fe4bed 100644 --- a/packages/globe_cli/lib/src/commands/update.dart +++ b/packages/globe_cli/lib/src/commands/update.dart @@ -20,7 +20,7 @@ class UpdateCommand extends BaseGlobeCommand { @override FutureOr? run() async { final isUpToDate = await updater.isUpToDate( - packageName: package_info.packageName, + packageName: package_info.name, currentVersion: package_info.version, ); diff --git a/packages/globe_cli/lib/src/package_info.dart b/packages/globe_cli/lib/src/package_info.dart index ee6ca160..856c844e 100644 --- a/packages/globe_cli/lib/src/package_info.dart +++ b/packages/globe_cli/lib/src/package_info.dart @@ -2,5 +2,6 @@ const name = 'globe_cli'; const version = '0.0.14'; -const description = 'The global deployment platform for Dart & Flutter applications.'; +const description = + 'The global deployment platform for Dart & Flutter applications.'; const executable = 'globe';