Skip to content

Commit

Permalink
fixup! add merge group CI_BASE_BRANCH/COMMIT extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Nov 9, 2023
1 parent 741cc0c commit 63d36bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ handle_merge_queue_build() {

# Set CI_BASE_COMMIT in case of a merge queue build.
if test -z "${CI_BASE_COMMIT}"; then
previous_merge="$(git merge-base ${CI_BASE_BRANCH} HEAD)"
previous_merge="$(git -C ${repo_dir} merge-base ${CI_BASE_BRANCH} HEAD)"
export CI_BASE_COMMIT="${previous_merge}"
fi

Expand Down

0 comments on commit 63d36bf

Please sign in to comment.