Skip to content

Instantly share code, notes, and snippets.

@yeradis
Created April 27, 2016 14:17
Show Gist options
  • Save yeradis/aec5aa8b0c75e4fa45de2eb016a1d6c3 to your computer and use it in GitHub Desktop.
Save yeradis/aec5aa8b0c75e4fa45de2eb016a1d6c3 to your computer and use it in GitHub Desktop.
lane :pilot_free do
upload_testflight(
scheme:app_config[:app_scheme]
)
end
desc "Responsible for uploading to testfligh"
private_lane :upload_testflight do |options|
increment_build_number #increments the build number (an integer)
build_release(scheme:options[:scheme])
pilot
end
desc "Responsible for building the app"
private_lane :build_release do |options|
sigh(
force: false,
skip_install: true,
development: false,
)
gym(
scheme: options[:scheme],
configuration: "Release",
use_legacy_build_api: true,
output_directory: "./",
)
toast(message:"Build done!")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment