lib/match/nuke.rb in match-0.5.0 vs lib/match/nuke.rb in match-0.6.0

- old
+ new

@@ -9,11 +9,11 @@ def run(params, type: nil) self.params = params self.type = type - params[:workspace] = GitHelper.clone(params[:git_url], params[:shallow_clone], skip_docs: params[:skip_docs]) + params[:workspace] = GitHelper.clone(params[:git_url], params[:shallow_clone], skip_docs: params[:skip_docs], branch: params[:git_branch]) had_app_identifier = self.params[:app_identifier] self.params[:app_identifier] = '' # we don't really need a value here FastlaneCore::PrintTable.print_values(config: params, hide_keys: [:app_identifier, :workspace], @@ -140,10 +140,10 @@ delete_files! end # Now we need to commit and push all this too message = ["[fastlane]", "Nuked", "files", "for", type.to_s].join(" ") - GitHelper.commit_changes(params[:workspace], message, self.params[:git_url]) + GitHelper.commit_changes(params[:workspace], message, self.params[:git_url], params[:git_branch]) end private def delete_files!