This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :pivotal_tracker do | |
desc "deliver this projects 'finished' stories" | |
task :deliver do | |
next unless ENV['PIVOTAL_TRACKER_TOKEN'] | |
require 'pivotal-tracker' | |
PivotalTracker::Client.use_ssl = true | |
PivotalTracker::Client.token = ENV['PIVOTAL_TRACKER_TOKEN'] | |
project = PivotalTracker::Project.find(1786309) | |
stage, current, previous = fetch(:stage), fetch(:current_revision), fetch(:previous_revision) |
OlderNewer