Alfredo Palhares masterkorp@masterkorp.net writes:
Hello,
I am ready to relase a firt version of a cookbook I made. [1], I made it pass foodcritic, and
run on test-kitchen, planing to add extensive testing in the future.
Now when uploading the release tarbal to the opscode site, I get the error that it needs a
metada.json. How do you keep this file updated ?
There’s many ways to handle the release process for cookbooks. For
generating metadata you could simply use:
knife cookbook metadata from file metadata.rb
tar and gzip the directory and then manually upload it.
There are several tools though that make this process quicker, which you
may be interested to look at:
Both accomplish the same thing and are nice tools.
Anything more I should beware before publishing ?
One thing that both of the tools I mentioned do that is very important
for keeping your sanity, is to tag the specific changeset when the
release happens. Seems like you’ve already done that in your repo 
[1] https://github.com/masterkorp/cookbook-taskwarrior
–
Regards,
Alfredo Palhares