From ed4e508402d21f2d1a471b1e13a8bb9567cbf056 Mon Sep 17 00:00:00 2001 From: Felix Angelov Date: Wed, 19 Feb 2025 12:32:19 -0600 Subject: [PATCH] chore(shorebird_cli): fix `--build-name` and `--build-number` descriptions (#2911) --- .../lib/src/common_arguments.dart | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/shorebird_cli/lib/src/common_arguments.dart b/packages/shorebird_cli/lib/src/common_arguments.dart index 5e0910af..63b4af46 100644 --- a/packages/shorebird_cli/lib/src/common_arguments.dart +++ b/packages/shorebird_cli/lib/src/common_arguments.dart @@ -29,17 +29,6 @@ class CommonArguments { static const buildNameArg = ArgumentDescriber( name: 'build-name', description: ''' -An identifier used as an internal version number. -Each build must have a unique identifier to differentiate it from previous builds. -It is used to determine whether one build is more recent than another, with higher numbers indicating more recent build. -On Android it is used as "versionCode". -On Xcode builds it is used as "CFBundleVersion".''', - ); - - /// The Flutter --build-number argument. - static const buildNumberArg = ArgumentDescriber( - name: 'build-number', - description: ''' A "x.y.z" string used as the version number shown to users. For each new version of your app, you will provide a version number to differentiate it from previous versions. @@ -47,6 +36,17 @@ On Android it is used as "versionName". On Xcode builds it is used as "CFBundleShortVersionString". On Windows it is used as the major, minor, and patch parts of the product and file versions.''', + ); + + /// The Flutter --build-number argument. + static const buildNumberArg = ArgumentDescriber( + name: 'build-number', + description: ''' +An identifier used as an internal version number. +Each build must have a unique identifier to differentiate it from previous builds. +It is used to determine whether one build is more recent than another, with higher numbers indicating more recent build. +On Android it is used as "versionCode". +On Xcode builds it is used as "CFBundleVersion".''', defaultValue: '1.0', );