aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-03-28 01:59:52 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-03-28 01:59:52 +0300
commit17e5dc6ee96c0028f730f661bdeaf1d888f82ffe (patch)
treecbdefa79adeeb4ac7a52d24f48e18ce2189bc279 /.github/workflows
parentc0fe95235f639adbc935192ed14b43631f617ac2 (diff)
feat: automate changelog-backed releases
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6c4f1ffc..ca1620ae 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -78,9 +78,14 @@ jobs:
runs-on: ubuntu-latest
steps:
+ - uses: actions/checkout@v4
+
- name: Download all artifacts
uses: actions/download-artifact@v4
+ - name: Extract release notes from changelog
+ run: python3 scripts/changelog.py extract --version "${GITHUB_REF_NAME#v}" --output RELEASE_NOTES.md
+
- name: Create release
uses: softprops/action-gh-release@v2
with:
@@ -89,4 +94,4 @@ jobs:
herdr-linux-aarch64/herdr-linux-aarch64
herdr-macos-x86_64/herdr-macos-x86_64
herdr-macos-aarch64/herdr-macos-aarch64
- generate_release_notes: true
+ body_path: RELEASE_NOTES.md