You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit adb4caa
Browse filesBrowse the repository at this point in the historyBrowse files
Instead of polling releases.yml until the release announcement is merged
and deployed, wait only for the tarballs on cache.ruby-lang.org and build
the releases.yml entry from them (sizes and checksums, plus the
announcement's date and URL predicted from when the tarball was
published). versions.sh takes it as RUBY_RELEASE_JSON, in preference to
releases.yml for that version.
This also fixes the 3.3.14 run that found nothing to update: the wait
loop saw 3.3.14 in releases.yml, but update.sh's own fetch of it got a
stale copy with 3.3.13. Now the entry is resolved once and passed to
every versions.sh call (including the push job's replay), and the update
fails unless versions.json ends up with the requested version.
|"$yq" -r '@json'# this *should* work on both the Go-based "yq" we download and the Python-based "yq" available from Debian's APT repo
34
34
)"
35
+
if [ -n"${RUBY_RELEASE_JSON:-}" ];then
36
+
# a release entry (same shape as releases.yml's) that takes precedence over releases.yml for its version, so a release can be picked up before (or regardless of whether) www.ruby-lang.org lists it (see ".github/workflows/update.yml")
0 commit comments