Fix finding the common ancestor of two branch

This commit is contained in:
linsui 2022-07-28 21:56:29 +08:00 committed by proletarius101
parent 7c1c1c2e43
commit fbc52ffa6f

View file

@ -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;