diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c4622530ca..af63b673ed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,7 +48,7 @@ variables: else git remote add upstream https://gitlab.com/fdroid/fdroiddata.git || true git fetch upstream ${CI_DEFAULT_BRANCH} - export TARGET_REF=$(git merge-base --fork-point upstream/${CI_DEFAULT_BRANCH}) + export TARGET_REF=$(git merge-base HEAD upstream/${CI_DEFAULT_BRANCH}) export SOURCE_REF="${CI_COMMIT_SHA}" fi;