diff --git a/CHANGELOG.md b/CHANGELOG.md index 62b0b89b..14c1afb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.0.4 + +- FVM only outputs information about version running when using `--verbose` [#288](https://github.com/leoafarias/fvm/issues/288) + ## 2.0.3 - Fixes monorepo compatibility [#285](https://github.com/leoafarias/fvm/issues/285) diff --git a/lib/src/commands/flutter_command.dart b/lib/src/commands/flutter_command.dart index 15671174..bd8975bc 100644 --- a/lib/src/commands/flutter_command.dart +++ b/lib/src/commands/flutter_command.dart @@ -29,7 +29,7 @@ class FlutterCommand extends BaseCommand { // Will install version if not already instaled final cacheVersion = await ensureCacheWorkflow(validVersion); - FvmLogger.info('fvm: running version "$version"\n'); + logger.trace('fvm: running version "$version"\n'); // Runs flutter command with pinned version return await flutterCmd(cacheVersion, args); diff --git a/lib/src/utils/commands.dart b/lib/src/utils/commands.dart index 76e80a68..85bef72d 100644 --- a/lib/src/utils/commands.dart +++ b/lib/src/utils/commands.dart @@ -61,12 +61,12 @@ Future flutterGlobalCmd(List args) async { // Get exec path for flutter if (cacheVersion != null) { execPath = cacheVersion.flutterExec; - FvmLogger.info( + logger.trace( 'FVM: Running global configured version "${cacheVersion.name}"', ); } else { execPath = whichSync('flutter') ?? ''; - FvmLogger.info( + logger.trace( 'FVM: Running Flutter SDK configured on environment PATH. $execPath', ); } diff --git a/lib/src/version.dart b/lib/src/version.dart index 170650cf..e3854c41 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '2.0.3'; +const packageVersion = '2.0.4'; diff --git a/pubspec.yaml b/pubspec.yaml index c2a32798..cd5eb083 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: fvm description: A simple cli to manage Flutter SDK versions per project. Support channels, releases, and local cache for fast switching between versions. -version: 2.0.3 +version: 2.0.4 homepage: https://github.com/leoafarias/fvm environment: