summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-01-11 17:36:51 +0900
committerHiroshi SHIBATA <[email protected]>2024-01-11 17:36:51 +0900
commitb10aa7757e8ef9d7625a7d8cfe962f3b4e8245dd (patch)
tree6f4aaa6459280f160494d28c45e817fe5bad2c81
parent78cd5b36576a55429bd15f5cabacfd4e790c0076 (diff)
Disable to add latest label when running with --no-dry-run option
-rwxr-xr-xtool/gen-github-release.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/gen-github-release.rb b/tool/gen-github-release.rb
index fe0b459cb3..600a01430d 100755
--- a/tool/gen-github-release.rb
+++ b/tool/gen-github-release.rb
@@ -58,7 +58,7 @@ note << "https://github.com/ruby/ruby/compare/#{ARGV[0]}...#{ARGV[1]}\n\n"
if ARGV[2] == "--no-dry-run"
name = ARGV[1].gsub(/v/, "").gsub(/_/, ".")
- client.create_release("ruby/ruby", ARGV[1], name: name, body: note)
+ client.create_release("ruby/ruby", ARGV[1], name: name, body: note, make_latest: "false")
puts "Created a release: https://github.com/ruby/ruby/releases/tag/#{ARGV[1]}"
else
puts note