mirror of
https://github.com/NanmiCoder/claude-code-haha.git
synced 2026-10-10 11:53:10 +08:00
fix(release): align Linux package smoke artifacts
Match Electron Builder Linux output by accepting linux-*-unpacked directories, treating AppImage blockmaps as optional, and validating release asset names against the generated x86_64/amd64 and arm64 artifacts. Tested: bun test scripts/quality-gate/package-smoke/index.test.ts Tested: bun test scripts/pr/release-workflow.test.ts scripts/quality-gate/package-smoke/index.test.ts Tested: bun run check:policy Tested: bun run check:native Tested: bun run verify Confidence: high Scope-risk: moderate
This commit is contained in:
@@ -230,18 +230,16 @@ jobs:
|
||||
;;
|
||||
Linux-x64)
|
||||
expected=(
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-x64.AppImage"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-x64.AppImage.blockmap"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-x64.deb"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-x86_64.AppImage"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-amd64.deb"
|
||||
"latest-linux.yml"
|
||||
)
|
||||
;;
|
||||
Linux-ARM64)
|
||||
expected=(
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-arm64.AppImage"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-arm64.AppImage.blockmap"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-arm64.deb"
|
||||
"latest-linux.yml"
|
||||
"latest-linux-arm64.yml"
|
||||
)
|
||||
;;
|
||||
Windows-x64)
|
||||
@@ -366,11 +364,9 @@ jobs:
|
||||
"Claude-Code-Haha-${APP_VERSION}-mac-x64.dmg.blockmap"
|
||||
"Claude-Code-Haha-${APP_VERSION}-mac-x64.zip"
|
||||
"Claude-Code-Haha-${APP_VERSION}-mac-x64.zip.blockmap"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-x64.AppImage"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-x64.AppImage.blockmap"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-x64.deb"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-x86_64.AppImage"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-amd64.deb"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-arm64.AppImage"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-arm64.AppImage.blockmap"
|
||||
"Claude-Code-Haha-${APP_VERSION}-linux-arm64.deb"
|
||||
"Claude-Code-Haha-${APP_VERSION}-win-x64.exe"
|
||||
"Claude-Code-Haha-${APP_VERSION}-win-x64.exe.blockmap"
|
||||
|
||||
Reference in New Issue
Block a user