From 288c3c77258cc4401b55fb0f7348b1ec7d88e5f6 Mon Sep 17 00:00:00 2001 From: "GT, Shreya" Date: Tue, 18 Jun 2024 12:43:39 +0530 Subject: [PATCH 1/3] TSP-463 Rename fw update to upgrade --- instrument-repl/src/repl.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/instrument-repl/src/repl.rs b/instrument-repl/src/repl.rs index e6d1168..dbeb9a4 100644 --- a/instrument-repl/src/repl.rs +++ b/instrument-repl/src/repl.rs @@ -433,7 +433,7 @@ impl Repl { ) ) .subcommand( - Command::new(".update").about("Upgrade the firmware on the connected instrument") + Command::new(".upgrade").about("Upgrade the firmware on the connected instrument") .help_template(SUBCMD_TEMPLATE) .disable_help_flag(true) .arg( @@ -580,9 +580,9 @@ impl Repl { Request::TspLinkNodes { json_file } } }, - Some((".update", flags)) => match flags.get_one::("help") { + Some((".upgrade", flags)) => match flags.get_one::("help") { Some(help) if *help => Request::Help { - sub_cmd: Some(".update".to_string()), + sub_cmd: Some(".upgrade".to_string()), }, _ => { let Some(file) = flags.get_one::("path") else { From 0611838c0442092c1e82b746f025c401a027d5af Mon Sep 17 00:00:00 2001 From: "GT, Shreya" Date: Tue, 18 Jun 2024 18:57:20 +0530 Subject: [PATCH 2/3] TSP-463 Fix version number and update changelog --- CHANGELOG.md | 8 +++++++- package.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 615f3e6..95f95a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,11 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how Security -- in case of vulnerabilities. --> +## [0.16.1] + +### Changed +- Renamed update to upgrade for firmware upgrade (TSP-463) + ## [0.16.0] ### Changed @@ -98,7 +103,8 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how - Feature to retrieve TSP-Link network details -[Unreleased]: https://github.com/tektronix/tsp-toolkit-kic-cli/compare/v0.16.0...HEAD +[Unreleased]: https://github.com/tektronix/tsp-toolkit-kic-cli/compare/v0.16.1...HEAD +[0.16.1]: https://github.com/tektronix/tsp-toolkit-kic-cli/releases/tag/v0.16.1 [0.16.0]: https://github.com/tektronix/tsp-toolkit-kic-cli/releases/tag/v0.16.0 [0.15.3]: https://github.com/tektronix/tsp-toolkit-kic-cli/releases/tag/v0.15.3 [0.15.1]: https://github.com/tektronix/tsp-toolkit-kic-cli/releases/tag/v0.15.1 diff --git a/package.json b/package.json index aa3430b..c937216 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tektronix/kic-cli", - "version": "0.16.0", + "version": "0.16.1", "main": "index.js", "bin": { "windows-kic": "./bin/kic.exe", From 39acd6c875d6e7595086ee6faf0f3ab28346218a Mon Sep 17 00:00:00 2001 From: "GT, Shreya" Date: Wed, 19 Jun 2024 12:12:35 +0530 Subject: [PATCH 3/3] TSP-463 Update cargo.toml version --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4824194..a3e5709 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1128,7 +1128,7 @@ dependencies = [ [[package]] name = "instrument-repl" -version = "0.16.0" +version = "0.16.1" dependencies = [ "chrono", "clap", @@ -1254,7 +1254,7 @@ dependencies = [ [[package]] name = "kic" -version = "0.16.0" +version = "0.16.1" dependencies = [ "anyhow", "clap", @@ -1273,7 +1273,7 @@ dependencies = [ [[package]] name = "kic-discover" -version = "0.16.0" +version = "0.16.1" dependencies = [ "anyhow", "async-std", diff --git a/Cargo.toml b/Cargo.toml index 1c102e9..a356c0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.16.0" +version = "0.16.1" authors = ["Keithley Instruments, LLC"] edition = "2021" repository = "https://github.com/tektronix/tsp-toolkit-kic-cli"