Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tedgonzalez/f8ddbc154e00aa6322ea4fd3f7598997 to your computer and use it in GitHub Desktop.
Save tedgonzalez/f8ddbc154e00aa6322ea4fd3f7598997 to your computer and use it in GitHub Desktop.
lane :release do
api_key = app_store_connect_api_key(
key_id: "D383SF739",
issuer_id: "6053b7fe-68a8-4acb-89be-165aa6465141",
key_filepath: "./D383SF739.p8",
duration: 1200, # optional
in_house: false, # optional but may be required if using match/sigh
)
sigh(api_key: api_key)
end
```fastlane/me.json
{
"key_id": "D383SF739",
"issuer_id": "6053b7fe-68a8-4acb-89be-165aa6465141",
"key_content": "-----BEGIN PRIVATE KEY-----\nMIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHknlhdlYdLu\n-----END PRIVATE KEY-----",
“duration”: 1200, # optional
“in_house”: false, # optional but may be required if using match/sigh, defaults to false
}
```
lane :release do
sigh( api_key_path: "fastlane/me.json" )
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment