Skip to content

Instantly share code, notes, and snippets.

@andreyoshev
Created October 9, 2017 16:40
Show Gist options
  • Save andreyoshev/b9c4c8c10834d1a7c65a669703938f83 to your computer and use it in GitHub Desktop.
Save andreyoshev/b9c4c8c10834d1a7c65a669703938f83 to your computer and use it in GitHub Desktop.
Fastfile for Fastlane
fastlane_version "2.60.0"
default_platform :ios
platform :ios do
before_all do
ENV["SLACK_URL"] = "https://hooks.slack.com/services/.."
cocoapods
end
desc "TestFlight"
lane :beta do
update_fastlane
ensure_git_status_clean
build_number = increment_build_number
git_commit(path:".", message:"up build by fastlane")
gym(
scheme: "scheme",
workspace: "workspace.xcworkspace"
)
pilot(skip_waiting_for_build_processing: true)
slack(
message: "Новый билд в TestFlight",
payload: {
'Build number' => build_number
}
)
end
lane :up_build do
# ensure_git_status_clean
build_number = increment_build_number
# git_commit(path:".", message:"up build by fastlane")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment