chore(docs): release notes 归档 docs/release-notes/ + 根目录汇总 CHANGELOG.md
- 20 份 release-notes-v*.md 移入 docs/release-notes/(git mv 保留历史) - 新增 CHANGELOG.md:v0.7.1~v0.7.20 倒序浓缩汇总(日期取各文件原始添加提交) - publish-gitea.sh 与 release.yml 改为 docs/release-notes/<tag>.md 优先、根目录回退
This commit is contained in:
1 parent
fcd08eae32
commit
11f87fd9af
23 files changed
+146
-3
No files matched your search
@@ -3,7 +3,8 @@
|
||||
# (git.codingplan.site/admin/KimiCodeSwitch).
|
||||
#
|
||||
# Usage: publish-gitea.sh <tag> <asset> [asset...]
|
||||
# tag : e.g. v0.7.15; notes read from release-notes-<tag>.md
|
||||
# tag : e.g. v0.7.15; notes read from docs/release-notes/<tag>.md
|
||||
# (legacy root release-notes-<tag>.md as fallback)
|
||||
# assets : files to attach (MSI, install-macos.sh, ...)
|
||||
#
|
||||
# Auth: reuses the stored git credential for git.codingplan.site
|
||||
@@ -15,7 +16,8 @@ REPO="admin/KimiCodeSwitch"
|
||||
TAG="${1:?usage: publish-gitea.sh <tag> <asset> [asset...]}"
|
||||
shift
|
||||
|
||||
NOTES_FILE="release-notes-${TAG}.md"
|
||||
NOTES_FILE="docs/release-notes/${TAG}.md"
|
||||
[ -f "$NOTES_FILE" ] || NOTES_FILE="release-notes-${TAG}.md"
|
||||
json_escape() {
|
||||
python - "$1" <<'PYEOF'
|
||||
import json, sys
|
||||
|
||||
Reference in new issue
Block a user