Преглед изворни кода

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

master
Saúl Ibarra Corretgé пре 6 година
родитељ
комит
50268a08a0
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4
    0
      ios/fastlane/Fastfile

+ 4
- 0
ios/fastlane/Fastfile Прегледај датотеку

@@ -6,6 +6,9 @@ default_platform(:ios)
6 6
 platform :ios do
7 7
   desc "Push a new beta build to TestFlight"
8 8
   lane :deploy do
9
+    # Make sure we are on a clean tree
10
+    ensure_git_status_clean
11
+
9 12
     # Set the app identifier
10 13
     update_app_identifier(
11 14
       xcodeproj: "app/app.xcodeproj",
@@ -27,5 +30,6 @@ platform :ios do
27 30
 
28 31
     # Cleanup
29 32
     clean_build_artifacts
33
+    reset_git_repo(skip_clean: true)
30 34
   end
31 35
 end

Loading…
Откажи
Сачувај