@@ -96,25 +96,30 @@ def ruby_version_exist?(version)
9696end
9797
9898namespace :debug do
99+ desc "Display all available Ruby versions grouped by major.minor"
99100 task :versions do
100101 pp ruby_versions
101102 end
102103
104+ desc "Show the latest stable Ruby version"
103105 task :latest_stable_version do
104106 p latest_stable_version : ruby_latest_stable_version
105107 end
106108
109+ desc "Check if the specified Ruby version is the latest (env: ruby_version)"
107110 task :latest_version do
108111 ENV [ "latest_tag" ] = "true"
109112 ruby_version = ENV [ "ruby_version" ]
110113 p latest_version : ruby_latest_version? ( ruby_version )
111114 end
112115
116+ desc "Check if the specified Ruby version is the latest full version (env: ruby_version)"
113117 task :latest_full_version do
114118 ruby_version = ENV [ "ruby_version" ]
115119 p latest_full_version : ruby_latest_full_version? ( ruby_version )
116120 end
117121
122+ desc "Check if the specified Ruby version exists (env: ruby_version)"
118123 task :version_exist do
119124 ruby_version = ENV [ "ruby_version" ]
120125 p version_exist : ruby_version_exist? ( ruby_version )
@@ -246,6 +251,7 @@ namespace :docker do
246251 return ruby_version , tags
247252 end
248253
254+ desc "Build Docker image for Ruby (env: ruby_version, ubuntu_version, arch, image_version_suffix, tag_suffix, tag, cppflags, optflags, target)"
249255 task :build do
250256 ruby_version = default_ruby_version
251257 unless ruby_version_exist? ( ruby_version )
@@ -296,6 +302,7 @@ namespace :docker do
296302 end
297303
298304 namespace :manifest do
305+ desc "Create multi-architecture Docker manifests (env: ruby_version, architectures, manifest_suffix, image_version_suffix)"
299306 task :create do
300307 ruby_version = ENV . fetch ( "ruby_version" )
301308 architectures = ENV . fetch ( "architectures" ) . split ( ' ' )
@@ -325,6 +332,7 @@ namespace :docker do
325332 end
326333 end
327334
335+ desc "Push multi-architecture Docker manifests to registry (env: ruby_version, image_version_suffix)"
328336 task :push do
329337 ruby_version = ENV [ "ruby_version" ]
330338 image_version_suffix = ENV [ "image_version_suffix" ]
0 commit comments