Skip to content

Commit 6bbb168

Browse files
committed
Updating the metadata to produce the version properly
1 parent b650958 commit 6bbb168

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎chef/lib/chef/cookbook/metadata.rb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ def from_hash(o)
379379
self.maintainer o['maintainer'] if o.has_key?('maintainer')
380380
self.maintainer_email o['maintainer_email'] if o.has_key?('maintainer_email')
381381
self.license o['license'] if o.has_key?('license')
382+
self.version o['version'] if o.has_key?('version')
382383
self.platforms = o['platforms'] if o.has_key?('platforms')
383384
self.dependencies = o['dependencies'] if o.has_key?('dependencies')
384385
self.recommendations = o['recommendations'] if o.has_key?('recommendations')

0 commit comments

Comments
 (0)