@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

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

+1 -1
+1 -1
src/applications/harbormaster/step/HarbormasterLeaseWorkingCopyBuildStepImplementation.php
··· 152 152 153 153 $repository = $repositories[$repository_phid]; 154 154 155 - $commit = idx($variables, 'repository.commit'); 155 + $commit = idx($variables, 'buildable.commit'); 156 156 $ref_uri = idx($variables, 'repository.staging.uri'); 157 157 $ref_ref = idx($variables, 'repository.staging.ref'); 158 158 if ($commit) {