From a460c946f9692a1e3edd1e5008d796d841060223 Mon Sep 17 00:00:00 2001 From: Adrian Stevens Date: Thu, 23 May 2024 13:35:18 -0700 Subject: [PATCH] Remove reset when only writing the runtime + version bump --- .../Commands/Current/Firmware/FirmwareWriteCommand.cs | 10 +++++----- Source/v2/Meadow.Cli/Meadow.CLI.csproj | 2 +- Source/v2/Meadow.Cli/Properties/AssemblyInfo.cs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs b/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs index 5c0d5647..bcb29524 100644 --- a/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs +++ b/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs @@ -244,12 +244,12 @@ protected override async ValueTask ExecuteCommand() connection = await GetConnectionAndDisableRuntime(); await WriteEspFiles(connection, deviceInfo, package); - } - // reset device - if (connection != null && connection.Device != null) - { - await connection.Device.Reset(); + // reset device + if (connection != null && connection.Device != null) + { + await connection.Device.Reset(); + } } Logger?.LogInformation(Strings.FirmwareUpdatedSuccessfully); diff --git a/Source/v2/Meadow.Cli/Meadow.CLI.csproj b/Source/v2/Meadow.Cli/Meadow.CLI.csproj index d15aab1f..9cee05e5 100644 --- a/Source/v2/Meadow.Cli/Meadow.CLI.csproj +++ b/Source/v2/Meadow.Cli/Meadow.CLI.csproj @@ -10,7 +10,7 @@ Wilderness Labs, Inc Wilderness Labs, Inc true - 2.0.43.0 + 2.0.44.0 AnyCPU http://developer.wildernesslabs.co/Meadow/Meadow.CLI/ https://github.com/WildernessLabs/Meadow.CLI diff --git a/Source/v2/Meadow.Cli/Properties/AssemblyInfo.cs b/Source/v2/Meadow.Cli/Properties/AssemblyInfo.cs index d4dcb1f7..9d681764 100644 --- a/Source/v2/Meadow.Cli/Properties/AssemblyInfo.cs +++ b/Source/v2/Meadow.Cli/Properties/AssemblyInfo.cs @@ -6,5 +6,5 @@ namespace Meadow.CLI; public static class Constants { - public const string CLI_VERSION = "2.0.43.0"; + public const string CLI_VERSION = "2.0.44.0"; } \ No newline at end of file