Commit 2ae21b72
Changed files (1)
lib
tasks
lib/tasks/deployment.rake
@@ -8,8 +8,9 @@ namespace :deploy do
task :production, :tag do |t, args|
tag_to_deploy = args.tag
if tag_to_deploy.blank?
- puts "please specify the name of the tag to deploy"
- puts "E.g. rake deploy:production['staging-2012-06-02-1-mo-user-settings']"
+ #puts "please specify the name of the tag to deploy"
+ #puts "E.g. rake deploy:production['staging-2012-06-02-1-mo-user-settings']"
+ sh "cap production deploy:migrations"
else
puts "deploying to production from tag #{tag_to_deploy}"
sh "cap production deploy:migrations -s tag=#{tag_to_deploy}"