mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #11663 from dacook/tag_release
Update tag_release script
This commit is contained in:
6
.github/ISSUE_TEMPLATE/release.md
vendored
6
.github/ISSUE_TEMPLATE/release.md
vendored
@@ -22,11 +22,13 @@ assignees: ''
|
||||
</code>
|
||||
</pre>
|
||||
</details>
|
||||
- [ ] 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
|
||||
|
||||
|
||||
@@ -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