mirror of
https://github.com/docker-library/ruby.git
synced 2022-11-09 11:41:34 -05:00
Update comments with more links
This commit is contained in:
parent
c1f97577cd
commit
2925aed5fe
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ fi
|
|||
versions=( "${versions[@]%/}" )
|
||||
|
||||
releasesPage="$(curl -fsSL 'https://www.ruby-lang.org/en/downloads/releases/')"
|
||||
newsPage="$(curl -fsSL 'https://www.ruby-lang.org/en/news/')" # occasionally, releases don't show up on the Releases page
|
||||
newsPage="$(curl -fsSL 'https://www.ruby-lang.org/en/news/')" # occasionally, releases don't show up on the Releases page (see https://github.com/ruby/www.ruby-lang.org/blob/master/_data/releases.yml)
|
||||
# TODO consider parsing https://github.com/ruby/www.ruby-lang.org/blob/master/_data/downloads.yml as well
|
||||
|
||||
latest_gem_version() {
|
||||
curl -fsSL "https://rubygems.org/api/v1/gems/$1.json" | sed -r 's/^.*"version":"([^"]+)".*$/\1/'
|
||||
|
|
Loading…
Reference in a new issue