Better branch

This commit is contained in:
Benjamin Bädorf 2021-06-15 01:23:05 +02:00
parent f6aa667fc1
commit b17e1762c7
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -7,6 +7,6 @@ LOCAL="$DRONE_BRANCH"
[ "$LOCAL" = "core" ] && UPSTREAM=origin/devos || UPSTREAM=origin/core
git fetch --all
git checkout --track origin/"$LOCAL"
git checkout "$LOCAL"
git merge "$UPSTREAM"
git push origin "$LOCAL"