Skip to main content

Crate anodizer_stage_notarize

Crate anodizer_stage_notarize 

Source
Expand description

macOS code-signing + notarization stage.

Split into focused submodules:

  • [secret] — checksum refresh, skip/id gating, base64 secret materialization + arg redaction.
  • [retry] — notarytool / rcodesign invocation with bounded transient retry and output checking.
  • [run] — the cross-platform (rcodesign) and native (codesign + xcrun notarytool) per-config run paths.

The NotarizeStage entry point and its Stage impl live here.

Structs§

NotarizeStage

Functions§

env_requirements
Environment requirements for the notarize stage, mirroring its run gates: nothing when the top-level skip: is truthy; per active macos: entry the cross-platform rcodesign plus the env refs of the templated certificate / password / App Store Connect fields; per active macos_native: entry codesign + xcrun plus the env refs of the templated identity / keychain / profile fields. Both toolchains run on whatever host executes the release (rcodesign is cross-platform; a macos_native config on a non-mac host would fail at run time, and preflight reports exactly that). Values are never echoed — only referenced env-var names.