fix: correct UF2 artifact name for wio-tracker tags with hyphenated versions

##*- strips to the last hyphen, so wio-tracker-v1.15-plus.1.3 yielded
"plus.1.3" instead of "v1.15-plus.1.3". Switch to #*-v (shortest prefix
ending with -v) which preserves hyphens inside the version string.

Also remove the -Plus suffix appended in build_wio_tracker_l1_firmwares()
since the version scheme already encodes "plus" in the tag/version string,
making the suffix redundant and producing doubled output like "plus.1.3-Plus".

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-15 15:24:54 +02:00
parent bf05a13549
commit a819b05ed0
2 changed files with 3 additions and 4 deletions

View File

@@ -231,11 +231,8 @@ build_companion_firmwares() {
}
build_wio_tracker_l1_firmwares() {
local _saved_version="$FIRMWARE_VERSION"
export FIRMWARE_VERSION="${FIRMWARE_VERSION}-Plus"
build_firmware "WioTrackerL1_companion_radio_usb_settings"
build_firmware "WioTrackerL1_companion_radio_ble_settings"
export FIRMWARE_VERSION="$_saved_version"
}
build_room_server_firmwares() {