Commit bcb93116 authored by Fabio Pelosin's avatar Fabio Pelosin

[Command::Push] Support files not present in the working dir.

Closes #848
parent 399e6bee
...@@ -120,7 +120,7 @@ module Pod ...@@ -120,7 +120,7 @@ module Pod
UI.puts " - #{message}" UI.puts " - #{message}"
FileUtils.mkdir_p(output_path) FileUtils.mkdir_p(output_path)
FileUtils.cp(Pathname.new(spec.name+'.podspec'), output_path) FileUtils.cp(spec_file, output_path)
Dir.chdir(repo_dir) do Dir.chdir(repo_dir) do
git!("add #{spec.name}") git!("add #{spec.name}")
git!("commit --no-verify -m '#{message}'") git!("commit --no-verify -m '#{message}'")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment