From 50268a08a0e831853d681803917000d9ae876518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 25 Mar 2019 16:49:49 +0100 Subject: [PATCH] ios: ensure the git tree is clean when / after building --- ios/fastlane/Fastfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 05ee5d758..69268e93f 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -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