mirror of
https://github.com/shy3130/tick-stock-panel.git
synced 2026-11-02 10:26:13 +00:00
fix(ci): 升级保护清单步骤强制 bash shell — Windows runner 默认 pwsh 不认 $() 语法
This commit is contained in:
@@ -150,6 +150,9 @@ jobs:
|
||||
# Inno/DMG/tar 一起分发, 运行时由 upgrade_guard 读取。
|
||||
# uv run --no-project: 跨平台用 uv 管的 Python; 版本号唯一权威 =
|
||||
# frontend/package.json (与 app/__init__._load_version 同源)。
|
||||
# shell: bash —— Windows runner 默认是 pwsh, 不认识 FOO=$(...) 语法;
|
||||
# 三平台 runner 均自带 bash, 显式指定即可统一。
|
||||
shell: bash
|
||||
run: |
|
||||
APP_VER=$(node -p "require('./frontend/package.json').version")
|
||||
uv run --no-project python scripts/generate_manifest.py --root backend/dist/TSP/_internal --output backend/dist/TSP/_internal/app/upgrade_manifest.json --version "$APP_VER"
|
||||
|
||||
Reference in New Issue
Block a user