Skip to content

Commit 63a6629

Browse files
authored
Revert JRuby 10 change temporarily
This reverts commit 4e039ed. Only reverting because there's nobody to release setup-ruby and the released version does not work with jruby-head as 10.
1 parent a4cdaa6 commit 63a6629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

find-jruby-head-url-nokogiri.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
versions = Nokogiri::XML(xml).css('version').map(&:text)
1313

1414
versions.delete('9000.dev-SNAPSHOT')
15-
most_recent = versions.max_by { |v| Gem::Version.new(v) }
15+
most_recent = versions.grep(/^9\.4/).max_by { |v| Gem::Version.new(v) }
1616

1717
builds_url = "#{base_url}/#{most_recent}/maven-metadata.xml"
1818
STDERR.puts builds_url

0 commit comments

Comments
 (0)