Commit 434cf19
committed
fix(firmware): accept older local firmware filename shapes
Allow target followed by a firmware marker segment (e.g.
heltec-v3-firmware-2.7.17.bin, heltec-v3.firmware.bin) in
addition to the standard release-style names. The regex now
accepts target + delimiter + (version | firmware) as a valid
continuation, while still rejecting target-prefix collisions like
tbeam vs tbeam-s3-core.1 parent eafa062 commit 434cf19
2 files changed
Lines changed: 12 additions & 1 deletion
File tree
- feature/firmware/src
- commonMain/kotlin/org/meshtastic/feature/firmware
- commonTest/kotlin/org/meshtastic/feature/firmware
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
126 | 137 | | |
127 | 138 | | |
128 | 139 | | |
| |||
0 commit comments