mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +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:
parent
2728a9f964
commit
bb4667cb84
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue