Returns the manifest arguments required when creating a new CD Signer request.
(
identifier: str,
)
| 223 | |
| 224 | |
| 225 | def manifest( |
| 226 | identifier: str, |
| 227 | ): |
| 228 | """ |
| 229 | Returns the manifest arguments required when creating a new CD Signer request. |
| 230 | """ |
| 231 | return { |
| 232 | "type": "app", |
| 233 | "os": "osx", |
| 234 | "name": "EXECUTABLES_TO_SIGN", |
| 235 | "outputs": [{"label": "macos", "path": "EXECUTABLES_TO_SIGN"}], |
| 236 | "app": { |
| 237 | "identifier": identifier, |
| 238 | "signing_requirements": { |
| 239 | "certificate_type": "developerIDAppDistribution", |
| 240 | "app_id_prefix": APPLE_TEAM_ID, |
| 241 | }, |
| 242 | }, |
| 243 | } |
| 244 | |
| 245 | |
| 246 | def sign_executable(signing_data: CdSigningData, exe_path: pathlib.Path) -> pathlib.Path: |