fix(release): electron-builder の不正な zip 位置引数を削除#190
Conversation
target/arch は electron-builder.yml の mac.target で定義済み。 CLI に `zip` を位置引数で渡すと electron-builder 25.x の yargs が `Unknown argument: zip` で exit 1 する。v1.2.0 release ビルドが これで失敗していた。
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
概要
v1.2.0 タグ push でトリガーした release.yml が
Package .app (arm64 zip)step でelectron-builder: Unknown argument: zipにより exit 1。原因
packages/desktop/electron-builder.ymlのmac.targetで既に dmg + zip + arm64 を定義済みのため、CLI に
zipを末尾の位置引数として渡す必要がない。electron-builder 25.x の yargs は target 名を位置引数で受けず弾く。
修正
electron-builder --mac --arm64 zip→electron-builder --mac --arm64に変更。config 側で zip は自動生成される。zip 成果物の欠落は下流
Compute artifact metadatastep が
ls packages/desktop/release/Ark-*-arm64.zipで検出して fail する。マージ後
main HEAD で v1.2.0 タグを再作成・push して release.yml を再走させる。
関連