Commit 1f540ad
Dmitry Pogrebnoy
RUBY-32905 Handle stable releases with negative patch number correctly
There was an assumption that patch level can be negative only for rc/preview ruby versions. But that is not generally true. It doesn't work with ruby 3.4.0 which is stable and has patch version -1. For such case it breaks mechanism of guessing right dir with core sources.
Instead of looking for negative patch version in core sources generation process, we need to check ruby version for `-rc`/`-preview` suffix. If ruby version doesn't have such prefix we need to add patch version (even negative) to the name of the dir with core sources for this version. In that way mechanism of guessing dirs works fine.1 parent b334730 commit 1f540ad
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments