Commit Graph

5 Commits

Author SHA1 Message Date
Haitao Pan
c98bce9dde fix(ci): keep macos/ios build lanes running when Apple signing secrets are missing
The release preflight used to set should_build_platform=false whenever any
Apple signing secret was unset, which silently skipped the entire macos dmg
and ios ipa lanes (build + upload gated on that flag). Result: releases only
shipped linux, windows and android artifacts even when the iOS/macOS lanes
were otherwise healthy.

Make the preflight always release the lane, but emit a :⚠️: and
annotate the skip_reason when a secret is missing. The iOS branch in
build_matrix_artifacts.sh now picks the signed vs unsigned build path based
on actual secret availability instead of should_release alone, so it falls
back to flutter build ios --no-codesign + zip Runner.app whenever a secret
is absent. package-flutter-mac-app.sh already handled the no-secret case
locally (ad-hoc codesign --sign -) and needs no change.

Behavior matrix:
  macos: secret present -> signed DMG; secret missing -> unsigned DMG
  ios:   secret present + release -> signed IPA
         secret present + non-release -> unsigned zip
         secret missing (any) -> unsigned zip
2026-06-05 18:39:25 +08:00
Haitao Pan
b22bdd396e Fix Apple preflight for main builds 2026-05-27 15:36:50 +08:00
Haitao Pan
524e5fcce3 Fix Apple preflight for main builds 2026-05-27 15:17:02 +08:00
Haitao Pan
2eb52a5bc3 Fail release preflight when Apple signing is missing 2026-05-12 18:30:22 +08:00
Haitao Pan
00beaf295d fix: repair cross-platform release CI gating 2026-04-14 13:48:04 +08:00