Set title on new releases to be the version number

This commit is contained in:
Stanko K.R.
2025-12-02 08:36:15 +01:00
parent 6bb0ee2436
commit 13897eac59

View File

@@ -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