Compare commits

...
4 Commits
Author SHA1 Message Date
Qiufeng 60c0519ac7 fix: run release tests in one thread
TallyNote release / linux-x64 (push) Successful in 7m50s
2026-09-04 13:19:34 +08:00
Qiufeng 32a73c5b50 release: 1.1.31 with detailed release notes
TallyNote release / linux-x64 (push) Failing after 9m7s
2026-09-04 13:06:44 +08:00
Qiufeng 45de0ef759 fix: use stable vitest thread pool in releases
TallyNote release / linux-x64 (push) Failing after 8m51s
2026-09-04 12:55:17 +08:00
Qiufeng 65b5d95937 fix: omit empty release note sections
TallyNote release / linux-x64 (push) Failing after 8m51s
2026-09-04 12:42:45 +08:00
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
# better-sqlite3 is a native addon; a single Vitest worker avoids a
# Node cleanup race observed on the hosted runner while preserving
# the complete test suite.
pnpm test -- --maxWorkers=1 --minWorkers=1
pnpm test -- --pool=threads --poolOptions.threads.singleThread=true
pnpm test:installer
- name: Build Linux release
run: pnpm release:build "${GITHUB_REF_NAME#v}" ./release
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "tallynote",
"version": "1.1.28",
"version": "1.1.32",
"private": true,
"type": "module",
"packageManager": "pnpm@9.0.6",
+5 -5
View File
@@ -109,11 +109,11 @@ generate_release_notes() {
for item in "$@"; do printf -- '- %s\n' "$item"; done
printf '\n'
}
print_group '新增功能' "${features[@]-}"
print_group '问题修复' "${fixes[@]-}"
print_group '优化与重构' "${improvements[@]-}"
print_group '文档与测试' "${docs[@]-}"
print_group '其他变更' "${other[@]-}"
((${#features[@]})) && print_group '新增功能' "${features[@]}"
((${#fixes[@]})) && print_group '问题修复' "${fixes[@]}"
((${#improvements[@]})) && print_group '优化与重构' "${improvements[@]}"
((${#docs[@]})) && print_group '文档与测试' "${docs[@]}"
((${#other[@]})) && print_group '其他变更' "${other[@]}"
if (( ${#features[@]} + ${#fixes[@]} + ${#improvements[@]} + ${#docs[@]} + ${#other[@]} == 0 )); then
printf '本版本包含内部维护更新。\n'
fi