Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

ci(release): publish job writes commit-derived release notes before promoting

enes8cc7a8310518
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fd2ed4737..a6544b07d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -153,6 +153,28 @@ jobs:
runs-on: ubuntu-latest
needs: [release-mac, release-linux]
steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0 # full history + tags — notes diff against the previous release tag
+
+ # Release notes from commit subjects since the previous tag (merges + the version-bump
+ # commit filtered out). Written BEFORE the promote below, so the release is complete —
+ # assets AND notes — the moment it becomes "latest" (nodeterm.dev/releases renders these).
+ - name: Generate release notes
+ env:
+ GH_TOKEN: ${{ github.token }}
+ run: |
+ tag="${GITHUB_REF_NAME}"
+ prev=$(git describe --tags --abbrev=0 "${tag}^" 2>/dev/null || true)
+ if [ -n "$prev" ]; then range="${prev}..${tag}"; else range="${tag}"; fi
+ {
+ echo "## Changes${prev:+ since ${prev}}"
+ git log --no-merges --format='- %s' "$range" | grep -vE '^- chore\(release\)' | head -60
+ total=$(git log --no-merges --format='- %s' "$range" | grep -cvE '^- chore\(release\)' || true)
+ if [ "${total:-0}" -gt 60 ]; then echo "- …and $((total - 60)) more commits"; fi
+ } > notes.md
+ gh release edit "$tag" --repo "$GITHUB_REPOSITORY" --notes-file notes.md
+
- name: Promote release to latest
env:
GH_TOKEN: ${{ github.token }}