Skip to content

Improve version handling on component install tasks

What does this MR do?

Fixes an issue where, when using branch versions, the component wouldn't be updated after the first branch checkout. We also save one step, since checking out the FETCH_HEAD with -f already does what reset --hard did.

Are there points in the code the reviewer needs to double check?

No

Why was this MR needed?

Branch versions of components (Shell, Gitaly) weren't being updated properly.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #34788 (closed)

Merge request reports