1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 13:22:42 +01:00

Fix WorkingCopy step to read correct commit variables

Summary: Ref T9252. This variable was always wrong but we fell back to just resetting to `HEAD` before. Use the correct variable name.

Test Plan: Verified variable name.

Reviewers: chad, hach-que

Reviewed By: hach-que

Maniphest Tasks: T9252

Differential Revision: https://secure.phabricator.com/D14224
This commit is contained in:
epriestley 2015-10-02 06:37:17 -07:00
parent 2728a9f964
commit bb4667cb84

View file

@ -152,7 +152,7 @@ final class HarbormasterLeaseWorkingCopyBuildStepImplementation
$repository = $repositories[$repository_phid];
$commit = idx($variables, 'repository.commit');
$commit = idx($variables, 'buildable.commit');
$ref_uri = idx($variables, 'repository.staging.uri');
$ref_ref = idx($variables, 'repository.staging.ref');
if ($commit) {