Skip to content

Commit

Permalink
Merge pull request #755 from nscuro/generate-releasenotes
Browse files Browse the repository at this point in the history
Add auto-generated changelog to GitHub releases
  • Loading branch information
nscuro authored Feb 27, 2024
2 parents 6718b8b + df6aa81 commit 61d371c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
changelog:
categories:
- title: Enhancements 🚀
labels:
- enhancement
- title: Bug Fixes 🐛
labels:
- defect
- title: Dependency Updates 🤖
labels:
- dependencies
- title: Other Changes
labels:
- "*"
3 changes: 3 additions & 0 deletions .github/workflows/ci-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:
\`\`\`
EOF
gh release view ${{ needs.read-version.outputs.version }} \
--json body --jq .body >> .github/default-release-notes.md
gh release edit ${{ needs.read-version.outputs.version }} \
--notes-file ".github/default-release-notes.md"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ jobs:
gh release create "${VERSION}" ${GH_OPTS} \
--target "${{ github.ref_name }}" \
--title "${VERSION}" \
--notes-file ".github/default-release-notes.md"
--generate-notes

0 comments on commit 61d371c

Please sign in to comment.