Skip to content

Instantly share code, notes, and snippets.

@tiagomartinho
Last active May 2, 2018 08:57
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 tiagomartinho/967fb3d94edcefcded73a2273944fc57 to your computer and use it in GitHub Desktop.
Save tiagomartinho/967fb3d94edcefcded73a2273944fc57 to your computer and use it in GitHub Desktop.
Fastlane Configuration
fastlane_require ‘dotenv’
before_all do
cocoapods(clean: true, repo_update: true)
run_tests(workspace: ENV[‘WORKSPACE’], scheme: ENV[‘SCHEME’])
end
desc “Push a new release build to the App Store”
lane :release do
increment_build_number(build_number: ENV[‘BITRISE_BUILD_NUMBER’], xcodeproj: ENV[‘PROJECT’])
build_app(workspace: ENV[‘WORKSPACE’], scheme: ENV[‘SCHEME’], configuration: “Release”, clean: true)
upload_to_app_store(skip_metadata: true, skip_screenshots: true, platform: ENV[‘PLATFORM’], app_identifier: ENV[‘APP_IDENTIFIER’], run_precheck_before_submit: false)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment