class Releaser

def _confirm_publish

def _confirm_publish
  input = nil
  loop do
    STDOUT.puts "Would you like to publish this GitHub release now? (y/n)"
    input = STDIN.gets.chomp.downcase
    break if %w(y n).include?(input)
  end
  exit if input == "n"
end