From 8764619fcf49ce2b144703cbda085aa642352fd2 Mon Sep 17 00:00:00 2001 From: Collin Charvat <91292030+c3charvat@users.noreply.github.com> Date: Wed, 17 Jul 2024 16:14:34 -0400 Subject: [PATCH] Fixes for TSP-761 (#22) Fixes for TSP-761 --------- Signed-off-by: c3charvat Co-authored-by: esarver --- CHANGELOG.md | 8 +++++++- Cargo.lock | 6 +++--- Cargo.toml | 2 +- kic/src/main.rs | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 15 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5056e02..596f5db 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.17.0] + +### Fixed +- Fixed an indexing issue for uploading modules (TSP-761) + ## [0.16.2] ### Changed @@ -109,7 +114,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.2...HEAD +[Unreleased]: https://github.com/tektronix/tsp-toolkit-kic-cli/compare/v0.17.0...HEAD +[0.17.0]: https://github.com/tektronix/tsp-toolkit-kic-cli/releases/tag/v0.17.0 [0.16.2]: https://github.com/tektronix/tsp-toolkit-kic-cli/releases/tag/v0.16.1 [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 diff --git a/Cargo.lock b/Cargo.lock index 0d2b366..7d1332a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1128,7 +1128,7 @@ dependencies = [ [[package]] name = "instrument-repl" -version = "0.16.2" +version = "0.16.3" dependencies = [ "chrono", "clap", @@ -1254,7 +1254,7 @@ dependencies = [ [[package]] name = "kic" -version = "0.16.2" +version = "0.16.3" dependencies = [ "anyhow", "clap", @@ -1273,7 +1273,7 @@ dependencies = [ [[package]] name = "kic-discover" -version = "0.16.2" +version = "0.16.3" dependencies = [ "anyhow", "async-std", diff --git a/Cargo.toml b/Cargo.toml index f74adfd..bff60c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.16.2" +version = "0.17.0" authors = ["Keithley Instruments, LLC"] edition = "2021" repository = "https://github.com/tektronix/tsp-toolkit-kic-cli" diff --git a/kic/src/main.rs b/kic/src/main.rs index 9b0a3a6..15d2ecc 100644 --- a/kic/src/main.rs +++ b/kic/src/main.rs @@ -170,7 +170,7 @@ fn cmds() -> Command { .long("slot") .help("[VersaTest only] Update a module in given slot number instead of the VersaTest mainframe") .required(false) - .value_parser(value_parser!(u16).range(1..3)), + .value_parser(value_parser!(u16).range(1..=3)), ]) }) .subcommand({ diff --git a/package-lock.json b/package-lock.json index 88b2394..c59b7b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@tektronix/kic-cli", - "version": "0.16.2", + "version": "0.17.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@tektronix/kic-cli", - "version": "0.16.2", + "version": "0.17.0", "bin": { "linux-kic": "bin/kic", "linux-kic-discover": "bin/kic-discover", diff --git a/package.json b/package.json index c542cbd..f4fb0f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tektronix/kic-cli", - "version": "0.16.2", + "version": "0.17.0", "main": "index.js", "bin": { "windows-kic": "./bin/kic.exe",