ios: ensure the git tree is clean when / after building

This commit is contained in:
Saúl Ibarra Corretgé 2019-03-25 16:49:49 +01:00 committed by Saúl Ibarra Corretgé
parent 985385f364
commit 50268a08a0
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,9 @@ default_platform(:ios)
platform :ios do
desc "Push a new beta build to TestFlight"
lane :deploy do
# Make sure we are on a clean tree
ensure_git_status_clean
# Set the app identifier
update_app_identifier(
xcodeproj: "app/app.xcodeproj",
@ -27,5 +30,6 @@ platform :ios do
# Cleanup
clean_build_artifacts
reset_git_repo(skip_clean: true)
end
end