mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user