Commit 84d7810f authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Installer] Copy Podfile.lock to Manifest.lock rather than using #write_to_disk

parent b4abe85e
......@@ -27,6 +27,12 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[Mason Glidden](https://github.com/mglidden)
[#3501](https://github.com/CocoaPods/CocoaPods/issues/3501)
* Always copy the generated `Podfile.lock` to `Pods/Manifest.lock` so they are
guarenteed to match, character-by-character, after installation.
[Samuel Giddins](https://github.com/segiddins)
[#3502](https://github.com/CocoaPods/CocoaPods/issues/3502)
## 0.37.0
For more details, see 📝 [CocoaPods 0.37](http://blog.cocoapods.org/CocoaPods-0.37/) on our blog.
......
......@@ -605,7 +605,9 @@ module Pod
end
UI.message "- Writing Manifest in #{UI.path sandbox.manifest_path}" do
@lockfile.write_to_disk(sandbox.manifest_path)
sandbox.manifest_path.open('w') do |f|
f.write config.lockfile_path.read
end
end
end
......
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