mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-17 19:29:13 +00:00
fix fatal: remote upstream already exists.
This commit is contained in:
parent
3c9284e4a8
commit
c002ddcf48
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ variables:
|
|||
export TARGET_REF="${CI_COMMIT_BEFORE_SHA}"
|
||||
export SOURCE_REF="${CI_COMMIT_SHA}"
|
||||
else
|
||||
git remote add upstream https://gitlab.com/fdroid/fdroiddata.git
|
||||
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 SOURCE_REF="${CI_COMMIT_SHA}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue