Commit 1636f6b
committed
Fix bump-minor-version to handle version 0.9 correctly
The previous yq expression used floating-point arithmetic to increment
the minor version ((0.9 * 10 + 1) / 10 = 1.0), which produced 1.0
instead of the expected 0.10. Replace with awk-based string splitting
that treats major and minor as separate integers, preserving the
major.minor format across all version numbers.
Ref: EC-1705
Signed-off-by: Rob Nester <rnester@redhat.com>
Assisted-by: Cursor
Made-with: Cursor1 parent 7ebac6e commit 1636f6b
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
| 380 | + | |
380 | 381 | | |
381 | 382 | | |
382 | | - | |
| 383 | + | |
383 | 384 | | |
0 commit comments