27 lines
371 B
Ruby
27 lines
371 B
Ruby
require_relative './base'
|
|
|
|
module Release
|
|
|
|
class List < Release::Base
|
|
def valid?
|
|
argv.size == 1
|
|
end
|
|
|
|
def help
|
|
"release list"
|
|
end
|
|
|
|
def execute
|
|
validate_current_branch_master
|
|
git_fetch_and_merge current_branch
|
|
|
|
puts
|
|
puts show_existing_tags
|
|
puts
|
|
puts show_existing_branches
|
|
puts
|
|
end
|
|
end
|
|
|
|
end
|