lib/shipit/task_commands.rb in shipit-engine-0.11.0 vs lib/shipit/task_commands.rb in shipit-engine-0.12.0

- old
+ new

@@ -1,8 +1,8 @@ module Shipit class TaskCommands < Commands - delegate :fetch, to: :stack_commands + delegate :fetch, :fetched?, to: :stack_commands def initialize(task) @task = task @stack = task.stack end @@ -30,10 +30,10 @@ def env normalized_name = ActiveSupport::Inflector.transliterate(@task.author.name) super.merge( 'ENVIRONMENT' => @stack.environment, 'BRANCH' => @stack.branch, - 'USER' => "#{@task.author.login} (#{normalized_name}) via Shipit", + 'SHIPIT_USER' => "#{@task.author.login} (#{normalized_name}) via Shipit", 'EMAIL' => @task.author.email, 'BUNDLE_PATH' => Rails.root.join('data', 'bundler').to_s, 'SHIPIT_LINK' => permalink, 'LAST_DEPLOYED_SHA' => @stack.last_deployed_commit.sha, ).merge(deploy_spec.machine_env).merge(@task.env)