Created
October 9, 2017 16:40
-
-
Save andreyoshev/b9c4c8c10834d1a7c65a669703938f83 to your computer and use it in GitHub Desktop.
Fastfile for Fastlane
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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