Skip to content

Instantly share code, notes, and snippets.

@callmephilip
Created August 18, 2016 18:02
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 callmephilip/3a1d29b604818131c1831a2b2dc467ed to your computer and use it in GitHub Desktop.
Save callmephilip/3a1d29b604818131c1831a2b2dc467ed to your computer and use it in GitHub Desktop.
fastlane_version "1.100.0"
default_platform :ios
platform :ios do
desc "Runs all the tests"
lane :test do
scan
end
desc "Submit a new Beta Build to Apple TestFlight"
desc "This will also make sure the profile is up to date"
lane :beta do
match(type: "appstore", readonly: true)
increment_build_number(
xcodeproj: './ios/Todos.xcodeproj'
)
ipa = gym(
scheme: "Todos",
project: "./ios/Todos.xcodeproj"
)
pilot(ipa: ipa)
clean_build_artifacts
commit_version_bump(
message: "👷 Deployed new version #{lane_context[SharedValues::BUILD_NUMBER]} [skip ci]",
xcodeproj: './ios/Todos.xcodeproj'
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment