lib/simple_deploy/cli/deploy.rb in simple_deploy-0.4.8 vs lib/simple_deploy/cli/deploy.rb in simple_deploy-0.5.0
- old
+ new
@@ -39,10 +39,10 @@
stack = Stack.new :environment => opts[:environment],
:name => name,
:logger => logger
- stack.update(:attributes => new_attributes) if new_attributes.any?
+ stack.update :force => opts[:force], :attributes => new_attributes if new_attributes.any?
if stack.deploy opts[:force]
notifier.send_deployment_complete_message unless opts[:quiet]
else
logger.error "Deployment to #{name} did not complete succesfully."