- Make changes
- Commit those changes
- Make sure Travis turns green
- Make sure Coverage remains 100%
- Bump version in
package.json
- Bump version in
metadata.rb
- Bump version in
docs/source/config.py
conventional-changelog -p angular -i CHANGELOG.md -s
- Commit all the things with
chore: Version bump
- Tag version
- Push
knife cookbook site share opsworks_ruby Applications
In case of trouble, check Sharing Chef Cookbooks article. Short version:
$ knife cookbook site share opsworks_ruby Applications
WARNING: No knife configuration file found
ERROR: Chef::Exceptions::CookbookNotFoundInRepo: Cannot find a cookbook named dokku;
did you forget to add metadata to a cookbook? (http://wiki.opscode.com/display/chef/Metadata)
Solution:
% echo client_key \"#{ENV['HOME']}/.chef/client.pem\" >> ~/.chef/knife.rb
% cookbook_path \"#{ENV['HOME']}/Projects/cookbooks\" >> ~/.chef.knife.rb
% knife cookbook site share opsworks_ruby Applications
ERROR: Errno::EACCES: Permission denied - /var/chef
Solution:
% sudo chown -R $USER /var/chef
% knife cookbook site share opsworks_ruby Applications
Generating metadata for dokku from /tmp/chef-opsworks_ruby-build20161021-18021-ypq6jp/opsworks_ruby/metadata.rb
Making tarball dokku.tgz
ERROR: Error uploading cookbook dokku to the Opscode Cookbook Site:
undefined method `strip' for nil:NilClass.
Set log level to debug (-l debug) for more information.`
Solution:
% echo node_name \"$USER\" >> ~/.chef/knife.rb