Commit e42f784
build: fix release scripts not all parsing versions properly (#17005)
Fixes the release scripts not properly parsing versions in the following scenarios:
1) The version has a pre-release version set to `0`. In that case the version pre-release version will be ignored.
2) The version has a pre-release version higher than `9`. In that case the Regex for parsing the version has an
invalid capture group that only matches a single-digit pre-release version.1 parent 4a5e952 commit e42f784
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments