mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-17 19:29:13 +00:00
Resolve "fatal: couldn't find remote ref xxx/master"
This commit is contained in:
parent
f74ee55d7c
commit
e5952c4958
1 changed files with 2 additions and 2 deletions
|
|
@ -52,8 +52,8 @@ variables:
|
|||
export SOURCE_REF="${CI_COMMIT_SHA}"
|
||||
else
|
||||
git remote add upstream https://gitlab.com/fdroid/fdroiddata.git || true
|
||||
git fetch upstream ${CI_DEFAULT_BRANCH}
|
||||
export TARGET_REF=$(git merge-base HEAD upstream/${CI_DEFAULT_BRANCH})
|
||||
git fetch upstream ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME:-master}
|
||||
export TARGET_REF=$(git merge-base HEAD upstream/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME:-master})
|
||||
export SOURCE_REF="${CI_COMMIT_SHA}"
|
||||
fi;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue