add automated release notes to CI builds
Build and Release / build-and-release (push) Has been cancelled

This commit is contained in:
2026-04-04 08:53:44 -07:00
parent 0e75affe0d
commit 50fae3b3df
2 changed files with 104 additions and 1 deletions
+10 -1
View File
@@ -76,6 +76,15 @@ jobs:
echo "=== Build output sizes ==="
ls -lh out/*.exe out/*.AppImage out/*.deb 2>/dev/null || true
- name: Generate release notes
if: steps.version-check.outputs.SKIP == 'false'
run: |
git fetch --unshallow 2>/dev/null || true
chmod +x scripts/generate-release-notes.sh
scripts/generate-release-notes.sh "${{ steps.version-check.outputs.TAG }}" > /tmp/release-notes.md
echo "--- Generated release notes ---"
cat /tmp/release-notes.md
- name: Create GitHub release and upload assets
if: steps.version-check.outputs.SKIP == 'false'
env:
@@ -100,5 +109,5 @@ jobs:
gh release create "${{ steps.version-check.outputs.TAG }}" \
--repo "$GITHUB_REPOSITORY" \
--title "${{ steps.version-check.outputs.TAG }}" \
--notes "Automated build for ${{ steps.version-check.outputs.TAG }}" \
--notes-file /tmp/release-notes.md \
"${ASSETS[@]}"