lib/instapusher2/commands.rb in instapusher2-0.0.6 vs lib/instapusher2/commands.rb in instapusher2-0.0.7
- old
+ new
@@ -24,10 +24,10 @@
job_submission = JobSubmission.new(debug, options)
job_submission.submit_the_job
if job_submission.success?
job_submission.feedback_to_user
- TagTheRelease.new(branch_name, debug).tagit if production?
+ TagTheRelease.new(branch_name, debug).tagit if (production? || staging?)
else
puts job_submission.error_message
end
end