Skip to content

Commit e141b54

Browse files
committed
Pin dev builds to 9.4 for now
JRuby 10 is about to become the new "jruby-head" but we want to ease into that transition. This PR filters available snapshot versions to just "9.4" releases until we are ready to support 10.
1 parent f7f54e3 commit e141b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)