chore: 清理 emoji 与修正发布脚本仓库名

产品代码统一为纯文本风格(照参考实现),去掉 emoji:billing/quota/usage 插件、
channels 的提示文案、WebUI 文案,以及 go 测试、docs、packaging 脚本中的
注意/OK/FAIL 等符号化写法。第三方目录(vendor、node_modules、.probe)不动。

另:packaging/upload-release.sh 的仓库名改为真实全名
JianFeeeee/ModelRouter → HeNanMU-EEA/ModelRouter(前者是重定向,POST/PUT 不跟随
会 404)。
This commit is contained in:
JianFeeeee
2026-10-13 13:42:57 +08:00
parent 5ab047e48b
commit 6fe6014d92
33 changed files with 83 additions and 83 deletions

View File

@ -20,7 +20,7 @@
set -uo pipefail
TOKEN="$(tr -d '\n\r' < /tmp/gc_token)"
REPO="JianFeeeee/ModelRouter"
REPO="HeNanMU-EEA/ModelRouter"
TAG="${1:?usage: upload-release.sh <tag> <file>...}"
shift
@ -43,7 +43,7 @@ try:
except Exception:
print("")' 2>/dev/null)"
if [ -z "$url" ]; then
echo "✗ 取得上传地址失败: ${resp:0:140}"
echo "FAIL 取得上传地址失败: ${resp:0:140}"
continue
fi
@ -63,9 +63,9 @@ print(subprocess.run(args, capture_output=True, text=True).stdout)
' "$f" "$url" 2>/dev/null)"
if [ "$code" = "200" ] || [ "$code" = "201" ] || [ "$code" = "204" ]; then
echo "✓ HTTP=$code"
echo "OK HTTP=$code"
else
echo "✗ HTTP=$code"
echo "FAIL HTTP=$code"
fi
sleep 1
done