diff --git a/lib/capistrano-deploytags/tasks/deploytags.rake b/lib/capistrano-deploytags/tasks/deploytags.rake index 8c41373..62818e5 100644 --- a/lib/capistrano-deploytags/tasks/deploytags.rake +++ b/lib/capistrano-deploytags/tasks/deploytags.rake @@ -9,7 +9,7 @@ namespace :deploy do stage = fetch(:stage, false) unless branch && stage - warn 'capistrano-deploytags requires that :branch and :stage be defined' + error 'capistrano-deploytags requires that :branch and :stage be defined' raise 'define :branch and :stage' end