add changelog based on release notes (#225)
This commit is contained in:
1 parent
be9c1220cd
commit
cddec7709c
2 files changed
+18
-22
No files matched your search
@@ -0,0 +1,18 @@
|
|||||||
|
# .github/release.yml
|
||||||
|
|
||||||
|
changelog:
|
||||||
|
exclude:
|
||||||
|
labels:
|
||||||
|
- ignore-for-release
|
||||||
|
categories:
|
||||||
|
- title: Breaking Changes 🛠
|
||||||
|
labels:
|
||||||
|
- Semver-Major
|
||||||
|
- breaking-change
|
||||||
|
- title: Exciting New Features 🎉
|
||||||
|
labels:
|
||||||
|
- Semver-Minor
|
||||||
|
- enhancement
|
||||||
|
- title: Other Changes
|
||||||
|
labels:
|
||||||
|
- "*"
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
# .github/workflows/release.yml
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- "v*"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Update changelog
|
|
||||||
uses: orhun/git-cliff-action@v3
|
|
||||||
with:
|
|
||||||
args: --tag ${{ github.ref_name }} --prepend CHANGELOG.md
|
|
||||||
|
|
||||||
- name: Create GitHub Release
|
|
||||||
uses: softprops/action-gh-release@v2
|
|
||||||
with:
|
|
||||||
name: ${{ github.ref_name }} # ← your tag name becomes the release name
|
|
||||||
body_path: CHANGELOG.md
|
|
||||||
Reference in new issue
Block a user