ios: ensure the git tree is clean when / after building
This commit is contained in:
parent
985385f364
commit
50268a08a0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue