Last active
March 25, 2016 16:36
-
-
Save zackbraksa/27f27b7f91075ad49513 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lane :beta do | |
| keychain_name = "ci-travis-app" | |
| create_keychain( | |
| name: keychain_name, | |
| default_keychain: true, | |
| unlock: true, | |
| timeout: 3600, | |
| lock_when_sleeps: true, | |
| password: SecureRandom.base64 | |
| ) | |
| # Import distribution certificate | |
| import_certificate( | |
| certificate_path: "fastlane/Certificates/distribution.p12", | |
| certificate_password: ENV["KEY_PASSWORD"], | |
| keychain_name: keychain_name | |
| ) | |
| # Fetch provisioning profile | |
| sigh( | |
| username: "email@example.com", | |
| team_id: "7XQMT35FZ5", | |
| provisioning_name: "com.organization.TravisApp AppStore", | |
| cert_id: "A0R345111F" | |
| ) | |
| increment_build_number | |
| # Build your app - more options available | |
| gym(scheme: "TravisApp") | |
| # Upload to TestFlight | |
| pilot | |
| delete_keychain( | |
| name: keychain_name | |
| ) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment