fixed # 补全部分卡牌

fixed # 修复部分已知BUG
This commit is contained in:
2026-10-04 19:32:38 +08:00
parent d0e0792538
commit 9e1732d2f8
353 changed files with 14008 additions and 1537 deletions
+12
View File
@@ -76,6 +76,10 @@ jobs:
--out dist/manifest.json
if ($LASTEXITCODE -ne 0) { throw '生成清单失败' }
python (Join-Path $source 'tools/verify_manifest.py') `
--root $source --version $version
if ($LASTEXITCODE -ne 0) { throw '发布前清单校验失败' }
$manifestPath = Join-Path $source 'dist/manifest.json'
$manifest = Get-Content $manifestPath -Raw |
ConvertFrom-Json
@@ -128,6 +132,10 @@ jobs:
Expand-Archive -LiteralPath $snapshot `
-DestinationPath $stage
python (Join-Path $stage 'tools/verify_manifest.py') `
--root $stage --version $version
if ($LASTEXITCODE -ne 0) { throw '标签源码与清单不一致,停止发布' }
$manifestPath = Join-Path $stage 'dist/manifest.json'
$manifest = Get-Content $manifestPath -Raw |
ConvertFrom-Json
@@ -158,6 +166,10 @@ jobs:
)
for name in component["files"]:
archive.write(root / name, folder + name)
for key in ("manifest", "legacy_manifest"):
receipt = descriptor.get(key)
if receipt:
archive.write(root / receipt, folder + receipt)
archive.write(root / "dist/manifest.json", folder + "manifest.json")
'@ | python - $stage $package
if ($LASTEXITCODE -ne 0) { throw '打包失败' }