Ver código fonte

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

master
Saúl Ibarra Corretgé 6 anos atrás
pai
commit
50268a08a0
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      ios/fastlane/Fastfile

+ 4
- 0
ios/fastlane/Fastfile Ver arquivo

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

Carregando…
Cancelar
Salvar