Sha256: fadc45026425bbf61aa96cd60866e8c39d9b14208d24b69a79e6b8b9877ad3a6
Contents?: true
Size: 657 Bytes
Versions: 1
Compression:
Stored size: 657 Bytes
Contents
Capistrano::Configuration.instance.load do namespace :pivotal_tracker do def deliverer @deliverer ||= DeployAndDeliver::Project.new(self) end desc "deliver your project's 'finished' stories" task :deliver_stories do puts "* delivering tracker stories ..." deliverer.deliver_and_report end desc "Mark the deploy with a release story" task :mark_release do story = @deliverer.project.stories.create( :name => "#{ENV['USER']} released to #{stage} at #{Time.now.strftime("%x %X")}", :story_type => "release" ) story.update(:current_state => "accepted") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deploy_and_deliver-2.1.0 | lib/deploy_and_deliver/recipes.rb |