Skip to content

Commit 699b7eb

Browse files
authored
chore: categorize generated release notes by label (#1652)
1 parent 43fad0e commit 699b7eb

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

‎.github/maintainers_guide.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ These `-SNAPSHOT` versions are intended to be overwritten. This enables develope
128128
* Follow the workflow logs and [publishing](https://central.sonatype.com/publishing/deployments) step with patience to start debugging if errors appear
129129
* Create a GitHub Release
130130
* Open https://github.com/slackapi/java-slack-sdk/releases/new?tag=v${version}
131+
* Click the "Generate release notes" button to list changes grouped by the labels in [`.github/release.yml`](./release.yml)
132+
* Edit the resulting notes to ensure they have decent messaging that is understandable by non-contributors, but each change should still have its own line
131133
* [Look at previous releases](https://github.com/slackapi/java-slack-sdk/releases) and follow their layouts
132-
* Prepare a release note by `git log --pretty=format:'%h %s by %an' --abbrev-commit | grep -v "Merge pull request " | head -50`
133134
* (Slack Internal) Communicate the release internally. Include a link to the GitHub Release(s).
134135
* (Slack Internal) Tweet? Not necessary for patch updates, might be needed for minor updates, definitely needed for
135136
major updates. Include a link to the GitHub Release(s).

‎.github/release.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes
2+
changelog:
3+
categories:
4+
- title: 🚀 Enhancements
5+
labels:
6+
- enhancement
7+
- title: 🐛 Bug Fixes
8+
labels:
9+
- bug
10+
- title: 📚 Documentation
11+
labels:
12+
- docs
13+
- title: 🤖 Build
14+
labels:
15+
- build
16+
- title: 🧪 Testing/Code Health
17+
labels:
18+
- code health
19+
- title: 🔒 Security
20+
labels:
21+
- security
22+
- title: 📦 Other changes
23+
labels:
24+
- "*"

0 commit comments

Comments
 (0)