Skip to content

Commit

Permalink
Add some newlines in output
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed May 8, 2024
1 parent dd0d5ac commit 063f453
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/configure_trusted_publisher/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ def gemspec
def write_release_action(repository, rubygem_name)
tag = "Automatically when a new tag matching v* is pushed"
manual = "Manually by running a GitHub Action"
puts
response = ask_multiple_choice(
"How would you like releases for #{rubygem_name} to be triggered?", [
tag,
Expand Down Expand Up @@ -355,6 +356,7 @@ def write_manual_action(repository)
def check_action(action_file)
return FileUtils.mkdir_p(File.dirname(action_file)) || true unless File.exist?(action_file)

puts
response = ask_multiple_choice(
"#{action_file} already exists, overwrite?", { "y" => "Yes", "n" => "No" },
default: "n"
Expand Down

0 comments on commit 063f453

Please sign in to comment.