Procházet zdrojové kódy

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

master
Saúl Ibarra Corretgé před 6 roky
rodič
revize
50268a08a0
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4
    0
      ios/fastlane/Fastfile

+ 4
- 0
ios/fastlane/Fastfile Zobrazit soubor

@@ -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

Načítá se…
Zrušit
Uložit