Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

Commit

Permalink
added passing of scm revision and repository to rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
Chad Pytel authored and Tammer Saleh committed Apr 3, 2009
1 parent 0babd4f commit decff9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/hoptoad.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
task :notify_hoptoad, :roles => :app do
rake = fetch(:rake, "rake")
rails_env = fetch(:rails_env, "production")
run "cd #{current_release}; #{rake} RAILS_ENV=#{rails_env} hoptoad:deploy TO=#{rails_env}"
run "cd #{current_release}; #{rake} RAILS_ENV=#{rails_env} hoptoad:deploy TO=#{rails_env} REVISION=#{current_revision} REPO=#{repository}"
end
end

0 comments on commit decff9b

Please sign in to comment.