Add a shortcut to draft new release

Next time, we can add a script to randomly choose a food-related release name ;)
This commit is contained in:
David Cook
2023-10-13 11:30:25 +11:00
parent a13c95433e
commit 4eb169ea0d

View File

@@ -19,3 +19,6 @@ major, minor, patch = latest_version.segments
next_tag = "v#{major}.#{minor}.#{patch.succ}"
puts `git push upstream 'HEAD:refs/tags/#{next_tag}'`
puts "Draft a new release with this tag:
https://github.com/openfoodfoundation/openfoodnetwork/releases/new?tag=#{next_tag}&title=#{next_tag}+Code+Name"