lib/shipit/task_commands.rb in shipit-engine-0.16.0 vs lib/shipit/task_commands.rb in shipit-engine-0.17.0
- old
+ new
@@ -35,9 +35,10 @@
'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,
+ 'TASK_ID' => @task.id.to_s,
).merge(deploy_spec.machine_env).merge(@task.env)
end
def checkout(commit)
git('checkout', commit.sha, chdir: @task.working_directory)