Advertisement
Guest User

Untitled

a guest
Mar 27th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. lane :beta do
  2.  
  3. keychain_name = "ci-travis-app"
  4.  
  5. create_keychain(
  6. name: keychain_name,
  7. default_keychain: true,
  8. unlock: true,
  9. timeout: 3600,
  10. lock_when_sleeps: true,
  11. password: SecureRandom.base64
  12. )
  13.  
  14. # Import distribution certificate
  15. import_certificate(
  16. certificate_path: "fastlane/Certificates/distribution.p12",
  17. certificate_password: ENV["KEY_PASSWORD"],
  18. keychain_name: keychain_name
  19. )
  20.  
  21. # Fetch provisioning profile
  22. sigh(
  23. username: "email@example.com",
  24. team_id: "7XQMT35FZ5",
  25. provisioning_name: "com.organization.TravisApp AppStore",
  26. cert_id: "A0R345111F"
  27. )
  28.  
  29. increment_build_number
  30.  
  31. # Build your app - more options available
  32. gym(scheme: "TravisApp")
  33.  
  34. # Upload to TestFlight
  35. pilot
  36.  
  37. delete_keychain(
  38. name: keychain_name
  39. )
  40. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement