feat: automate changelog-backed releases
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user