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
major_version=$(head -n1 ruby/debian/changelog | egrep -o "ruby[0-9.]+" | sed "s/ruby//")
16
+
minor_version=$(head -n1 ruby/debian/changelog | egrep -o "\([0-9.]+(~[a-z0-9]+)?" | sed "s/(//")
17
+
upstream_minor_version=$(echo $minor_version | sed "s/~/-/")
18
+
curl https://cache.ruby-lang.org/pub/ruby/${major_version}/ruby-${upstream_minor_version}.tar.gz > ruby${major_version}_${minor_version}.orig.tar.gz # Remove this file itself to avoid generating a debian-changes file
0 commit comments