Skip to content

Instantly share code, notes, and snippets.

@suprie

suprie/Fastfile Secret

Created March 31, 2017 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suprie/19a444d36fe6f21ba55795f7a9c6e8c3 to your computer and use it in GitHub Desktop.
Save suprie/19a444d36fe6f21ba55795f7a9c6e8c3 to your computer and use it in GitHub Desktop.
fastlane_version "1.53.0"
default_platform :ios
platform :ios do
lane :test do
cocoapods
xctest(workspace: "app.xcworkspace",
scheme: "vidio",
xcargs: "-jobs 4 -parallelizeTargets",
destination: "platform=iOS Simulator,name=iPhone 6s id,OS=9.3")
end
desc "Submit a new beta to crashlytics"
lane :fabric do
ensure_git_status_clean
git_pull
increment_build_number
gym(scheme: "app")
notes = changelog_from_git_commits
notes = notes + "\n\n" + "[View diff on Github](#{compare_url})"
crashlytics(
api_token: "<TOKEN>",
build_secret: "<SECRET>",
notifications: true,
notes: notes
)
end
after_all do |lane|
end
error do |lane, exception|
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment