Skip to content

This is an fastlane action to reuse certs generated by match. Any suggestions are welcome.

Notifications You must be signed in to change notification settings

HIIgor/match_certs_migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

match_certs_migration

I used match in our project, and match regenerated the certificate when the project was created. The number of developer accounts is limited to three, and in fact the same type of certificate can be reused, then use the match to fetch different provision files. The fastlane action match_certs_migration will reuse the certificates.

Usage

In the example,

fastlane hi_match_certs_migration

select the app you wish to migration

fastlane hi_match readonly:false keychain_password:your_keychain_password

Implementation

As match has stored the cert and p12 files in the git repo, and they are named with the cert_id, the action will check out all the branches and copy all the certs to a tmp dirctory, fetch all the certificates on the developer account and choose a suitable cert, get the cert and p12 files from the all certs tmp directory and then commit them to your cert git repo. That's it.

Todo

Check that wether the cert alreadly exists in the git repo before fetch all the certs.

About

This is an fastlane action to reuse certs generated by match. Any suggestions are welcome.

Resources

Stars

Watchers

Forks

Packages

No packages published