PTLog
Chagelog based on Git commits with a PivotalTracker story IDs.
Integration with Capostrano.
Installation
Add this line to your application's Gemfile:
gem 'ptlog'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ptlog
Usage
Capistrano tasks
set :ptlog_project_id, PROJECT_ID
set :ptlog_token, TOKEN
set :ptlog_output, "{release_path}/changelog.html"
Hooks
# Generates ChangeLog file
#
after :deploy, 'ptlog:changes'
# Generates version.json with last commit hash
#
after "deploy:update_code", "ptlog:release"
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request