Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement