Release Drafter for Automated Releases #36
adamantmm
started this conversation in
Developers & API
Replies: 1 comment
-
|
Great that it uses both Label-based categorization and pr and issue title prefixes categorization. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have introduced Release Drafter to automate release notes generation.
Where it started: #9
This allows all developers to maintain consistent, automated release drafts without manual work.
🧩 What is Release Drafter?
Release Drafter automatically:
Useful for any repository: libraries, bots, services, node tools, utilities, and more.
🎯 Benefits
feature,fix,chore,breaking, etc.). See Recommended labels for Issues and Discussions.[Bug],[Feat],[Chore], etc.). See Recommended prefixes for Issue titles.📂 Files Included
The system consists of two files:
Workflow
.github/workflows/custom-release-draft.ymlhttps://github.com/Adamant-im/.github/blob/feat/release-drafter/.github/workflows/custom-release-draft.yml
Release notes generator
.github/scripts/release-notes.jshttps://github.com/Adamant-im/.github/blob/feat/release-drafter/.github/scripts/release-notes.js
🛠 How to Enable It in Your Repository
1. Add workflow file
Copy the workflow file into your repo.
Example:
The workflow download and run the Release Drafter
.github/scripts/release-notes.js.2. Label and/or prefix your PRs
Both will work well.
3. Check Releases tab
A Draft Release will be automatically updated after every merged PR.
🧐 Example
https://github.com/Adamant-im/adamant-im/releases/tag/untagged-63f36384c9a0593a4128
🤝 Recommendation
We encourage all developers to enable Release Drafter in their repositories.
This improves release quality, reduces manual work, and ensures consistency across the ecosystem.
If you need help setting it up — feel free to ask!
Beta Was this translation helpful? Give feedback.
All reactions