Sha256: 01c8c8cbbda1ae4a9a93b74391e681191a03e16dec21f2006c987393ea6adc3a
Contents?: true
Size: 870 Bytes
Versions: 3
Compression:
Stored size: 870 Bytes
Contents
CookbookRelease =============== Helper to release cookbooks. This motivation is to publish new version at each commit on master branch from the CI. This helper will create tags, push them and publish to supermarket. Usage ----- Include cookbook-release into your `Gemfile`. Require cookbook-release into the `metadata.rb` file and replace the version by the helper: ``` version Release.current_version ``` Include the rake tasks in your Rakefile: ``` require 'cookbook-release' CookbookRelease::Rake::CookbookTask.new ``` Then you can publish on your supermarket using: ``` export SUPERMARKET_CLIENTKEYFILE=/tmp/my_key.pem export SUPERMARKET_USERID=my_username export SUPERMARKET_URL="http://supermarket.chef.io/api/v1/cookbooks" export NO_PROMPT="" rake release! ``` Note: this setup is intended to be used in a CI system such as jenkins or travis.
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cookbook-release-0.3.1 | README.md |
cookbook-release-0.3 | README.md |
cookbook-release-0.1 | README.md |