From 4eb169ea0d6fec441d9dfcd1fe4a619c40f61ec6 Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 13 Oct 2023 11:30:25 +1100 Subject: [PATCH 1/2] Add a shortcut to draft new release Next time, we can add a script to randomly choose a food-related release name ;) --- script/tag_release | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/tag_release b/script/tag_release index 1fc68ef539..718397ef27 100755 --- a/script/tag_release +++ b/script/tag_release @@ -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" From 9276469c538320d5e5a0b850bf402b5966550033 Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 13 Oct 2023 11:56:21 +1100 Subject: [PATCH 2/2] Update checklist --- .github/ISSUE_TEMPLATE/release.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/release.md b/.github/ISSUE_TEMPLATE/release.md index 4013964fc1..202b75c148 100644 --- a/.github/ISSUE_TEMPLATE/release.md +++ b/.github/ISSUE_TEMPLATE/release.md @@ -22,11 +22,13 @@ assignees: '' -- [ ] Create a tag: `git push upstream HEAD:refs/tags/vX.Y.Z` +- [ ] Create a tag: + - `script/tag_release` will auto increment patch version, otherwise + - `git push upstream HEAD:refs/tags/vX.Y.Z` - [ ] [Draft new release]. Look at previous [releases] for inspiration. - Select new release tag - _Generate release notes_ and check to ensure all items are arranged in the right category. -- [ ] Notify [#instance-managers] of both user-facing :eyes: and :warning: API changes. +- [ ] Notify [#instance-managers] of user-facing :eyes:, API :warning: and experimental :construction: changes. ## 2. Testing