fix release notes (#1097)

* fix release notes

* contributors note
This commit is contained in:
Chris Tate
2026-03-30 20:54:59 -05:00
committed by GitHub
parent e6ba1eb8c9
commit b2b6356d63
2 changed files with 27 additions and 4 deletions
+13 -1
View File
@@ -291,6 +291,18 @@ jobs:
- name: Create dashboard.zip
run: cd packages/dashboard/out && zip -r ../../../dashboard.zip .
- name: Extract changelog entry
run: |
VERSION="${{ needs.check-release.outputs.version }}"
awk '/<!-- release:start -->/{found=1; next} /<!-- release:end -->/{found=0} found{print}' CHANGELOG.md > /tmp/release-notes.md
LINES=$(wc -l < /tmp/release-notes.md | tr -d ' ')
if [ "$LINES" -lt 2 ]; then
echo "Error: No release notes found between <!-- release:start --> and <!-- release:end --> markers in CHANGELOG.md"
exit 1
fi
echo "Extracted release notes for $VERSION ($LINES lines)"
- name: Create GitHub Release
run: |
VERSION="${{ needs.check-release.outputs.version }}"
@@ -303,7 +315,7 @@ jobs:
echo "Creating release $TAG..."
gh release create "$TAG" \
--title "$TAG" \
--generate-notes \
--notes-file /tmp/release-notes.md \
bin/agent-browser-* dashboard.zip
fi
env: