Commit 4f59d16
committed
fix(ruby): accept both "_" and "." tag separators from ruby/ruby
ruby/ruby switched its release tag separator from "_" (e.g. v3_4_9)
to "." (e.g. v4.0.4) starting at Ruby 4.0.0. The current regex in
find_version_from_git_tags only matches the "_" form, so VERSION=latest
and ADDITIONAL_VERSIONS resolution silently skip every 4.x release.
When the caller passes "_" as the separator, build the regex with a
[._] character class so both tag styles are picked up. The existing
`tr "_" "."` normalization already produces correct dot-separated
output for both forms, so downstream sort/grep logic is unchanged.1 parent 8c47157 commit 4f59d16
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
153 | 160 | | |
154 | 161 | | |
155 | | - | |
| 162 | + | |
156 | 163 | | |
157 | | - | |
| 164 | + | |
158 | 165 | | |
159 | | - | |
| 166 | + | |
160 | 167 | | |
161 | 168 | | |
162 | 169 | | |
| |||
0 commit comments