Closed schinery closed 4 months ago
Update the rubyFeed regex to allow for v prefix of releases
rubyFeed
As flagged by @miyucy in https://github.com/CircleCI-Public/cimg-ruby/issues/174 the latest Ruby release is listed as v3.3.3.
v3.3.3
The current regex:
curl --silent "https://github.com/ruby/ruby/tags.atom" | grep -E '(title)' | tail -n +2 | sed -e 's/^[ \t]*//' | sed -e 's/<title>//' -e 's/<\/title>//' v3.3.3 3.3.2 3.1.6 3.4.0-preview1 3.3.1 3.2.4 3.1.5 3.0.7 3.2.3 3.3.0
With the added [v?]* to the regex the version list now looks like:
[v?]*
curl --silent "https://github.com/ruby/ruby/tags.atom" | grep -E '(title)' | tail -n +2 | sed -e 's/^[ \t]*//' | sed -e 's/<title>[v?]*//' -e 's/<\/title>//' 3.3.3 3.3.2 3.1.6 3.4.0-preview1 3.3.1 3.2.4 3.1.5 3.0.7 3.2.3 3.3.0
Thank you for handling this! I believe this should unblock my team in updating to 3.3.3
Description
Update the
rubyFeed
regex to allow for v prefix of releasesReasons
As flagged by @miyucy in https://github.com/CircleCI-Public/cimg-ruby/issues/174 the latest Ruby release is listed as
v3.3.3
.The current regex:
With the added
[v?]*
to the regex the version list now looks like: