[Create] Correctly pass Pod::VERSION

parent cf12c1cc
...@@ -25,6 +25,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -25,6 +25,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes ##### Bug Fixes
* Correctly pass Pod:VERSION in `pod lib create`.
[Danielle Tomlinson](https://github.com/dantoml)
[#5840](https://github.com/CocoaPods/CocoaPods/issues/5840)
* Prevent crash when generating acknowledgements when license type is not specified. * Prevent crash when generating acknowledgements when license type is not specified.
[Marcelo Fabri](https://github.com/marcelofabri) [Marcelo Fabri](https://github.com/marcelofabri)
[#5826](https://github.com/CocoaPods/CocoaPods/issues/5826) [#5826](https://github.com/CocoaPods/CocoaPods/issues/5826)
......
...@@ -75,7 +75,7 @@ module Pod ...@@ -75,7 +75,7 @@ module Pod
UI.section("Configuring #{@name} template.") do UI.section("Configuring #{@name} template.") do
Dir.chdir(@name) do Dir.chdir(@name) do
if File.exist?('configure') if File.exist?('configure')
system({ 'COCOAPODS_VERSION' => Pod::Version }, './configure', @name, *@additional_args) system({ 'COCOAPODS_VERSION' => Pod::VERSION }, './configure', @name, *@additional_args)
else else
UI.warn 'Template does not have a configure file.' UI.warn 'Template does not have a configure file.'
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