Tracker::Git
Update Pivotal Tracker depending on your local Git repository.
This gem finds all finished stories and bugs and if it finds the story id in a Git commit, marks that story as delivery.
This has proved useful as part of a 'deploy to staging' strategy. If you automatically deploy to a staging environment after a successful continuous integration build, and want to update a story from 'finished' to 'delivered', then this Gem is for you.
CI
Installation
Add this line to your application's Gemfile:
gem 'tracker-git'
And then execute:
$ bundle
Or install it yourself as:
$ gem install tracker-git
Usage
This gem will create a 'tracker' binary. Call that in your deploy script with the following environment variables set, and your finished stories will be updated to delivered.
export tracker_token=abc123
export tracker_project_id=123456
Known Issues
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request