match/lib/match/nuke.rb in fastlane-2.106.2 vs match/lib/match/nuke.rb in fastlane-2.107.0

- old
+ new

@@ -34,10 +34,17 @@ git_user_email: params[:git_user_email], clone_branch_directly: params[:clone_branch_directly] }) self.storage.download + # After the download was complete + self.encryption = Encryption.for_storage_mode(params[:storage_mode], { + git_url: params[:git_url], + working_directory: storage.working_directory + }) + self.encryption.decrypt_files + had_app_identifier = self.params.fetch(:app_identifier, ask: false) self.params[:app_identifier] = '' # we don't really need a value here FastlaneCore::PrintTable.print_values(config: params, hide_keys: [:app_identifier], title: "Summary for match nuke #{Fastlane::VERSION}") @@ -182,9 +189,11 @@ end if self.files.count > 0 delete_files! end + + self.encryption.encrypt_files # Now we need to commit and push all this too message = ["[fastlane]", "Nuked", "files", "for", type.to_s].join(" ") self.storage.save_changes!(files_to_commit: [], custom_message: message) end