Commit 61ab5ae
authored
Fix string comparison in bump-version script (#1638)
The validation on line 9 used (( )) arithmetic context for string
comparison, which always errors. Replace with [[ ]] for proper string
matching and add || usage to actually reject invalid inputs.1 parent 5fcf281 commit 61ab5ae
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments