9494 run : npm run build
9595
9696 - name : Verify generated sources are committed
97- run : git diff --exit-code -- index.html README.md sitemap.xml manifest.json llms.txt i18n tools
97+ run : git diff --exit-code -- index.html README.md README.en.md sitemap.xml manifest.json llms.txt i18n tools
9898
9999 - name : Scan release tree and verify license files
100100 run : |
@@ -106,19 +106,15 @@ jobs:
106106 VERSION : ${{ steps.version.outputs.version }}
107107 run : npm run build:release
108108
109- - name : Generate changelog
110- id : changelog
109+ - name : Read curated release notes
110+ id : notes
111+ env :
112+ VERSION : ${{ steps.version.outputs.version }}
111113 run : |
112- # Get commits since last tag
113- LAST_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
114- if [ -n "$LAST_TAG" ]; then
115- CHANGELOG=$(git log --pretty=format:"- %s" "$LAST_TAG"..HEAD)
116- else
117- CHANGELOG=$(git log --pretty=format:"- %s" -20)
118- fi
114+ RELEASE_NOTES=$(node scripts/extract-release-notes.mjs "$VERSION")
119115 {
120- echo "CHANGELOG <<EOF"
121- echo "$CHANGELOG "
116+ echo "RELEASE_NOTES <<EOF"
117+ echo "$RELEASE_NOTES "
122118 echo "EOF"
123119 } >> "$GITHUB_OUTPUT"
124120
@@ -133,14 +129,15 @@ jobs:
133129 env :
134130 VERSION : ${{ steps.version.outputs.version }}
135131 TOOL_COUNT : ${{ steps.tools.outputs.COUNT }}
136- CHANGELOG : ${{ steps.changelog.outputs.CHANGELOG }}
137132 with :
138133 tag_name : ${{ steps.version.outputs.tag }}
139134 name : WebUtils ${{ steps.version.outputs.version }}
140135 body : |
141136 ## WebUtils ${{ steps.version.outputs.version }}
142137
143- **${{ steps.tools.outputs.COUNT }}+ 纯前端在线工具集**
138+ **${{ steps.tools.outputs.COUNT }}+ 本地优先的浏览器工具集**
139+
140+ Local-first browser utilities with standalone HTML export and transparent network boundaries.
144141
145142 ### 特性
146143 - 静态 HTML 工具集,可导出独立页面
@@ -159,7 +156,7 @@ jobs:
159156 3. 按 README 的隐私与网络边界使用;外部资源或网络工具仍需联网
160157
161158 ### 更新日志
162- ${{ steps.changelog .outputs.CHANGELOG }}
159+ ${{ steps.notes .outputs.RELEASE_NOTES }}
163160
164161 ---
165162
0 commit comments