mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-04-20 03:01:51 +09:00
Set title on new releases to be the version number
This commit is contained in:
@@ -54,7 +54,7 @@ announcing "Creating GitHub release v#{VERSION}..." do
|
||||
File.write(notes_file, "# What's Changed\n\n- \n")
|
||||
system ENV["EDITOR"] || "vim", notes_file
|
||||
|
||||
unless system "gh", "release", "create", "v#{VERSION}", "--notes-file", notes_file
|
||||
unless system "gh", "release", "create", "v#{VERSION}", "--title", "v#{VERSION}", "--notes-file", notes_file
|
||||
abort "Failed to create release; check that the version doesn't already exist"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user