mirror of
https://github.com/libretro/libretro-super
synced 2025-04-10 03:44:14 +00:00
Update libretro-buildbot-recipe.sh
This commit is contained in:
parent
a900aca82c
commit
25e1c0190c
@ -1082,6 +1082,7 @@ buildbot_pull(){
|
|||||||
echo "resetting repo state $URL... "
|
echo "resetting repo state $URL... "
|
||||||
git clean -xdf
|
git clean -xdf
|
||||||
git reset --hard origin
|
git reset --hard origin
|
||||||
|
git pull
|
||||||
BUILD="YES"
|
BUILD="YES"
|
||||||
fi
|
fi
|
||||||
elif [ "${TYPE}" = "SUBMODULE" ]; then
|
elif [ "${TYPE}" = "SUBMODULE" ]; then
|
||||||
@ -1092,6 +1093,7 @@ buildbot_pull(){
|
|||||||
echo "resetting repo state $URL... "
|
echo "resetting repo state $URL... "
|
||||||
git clean -xdf
|
git clean -xdf
|
||||||
git reset --hard origin
|
git reset --hard origin
|
||||||
|
git pull
|
||||||
BUILD="YES"
|
BUILD="YES"
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
#git submodule foreach git pull origin master
|
#git submodule foreach git pull origin master
|
||||||
@ -1103,6 +1105,7 @@ buildbot_pull(){
|
|||||||
cd $PARENTDIR
|
cd $PARENTDIR
|
||||||
if [ ! -z "$BRANCH" -a "${NAME}" == "retroarch" ]; then
|
if [ ! -z "$BRANCH" -a "${NAME}" == "retroarch" ]; then
|
||||||
git clone "$URL" "$DIR"
|
git clone "$URL" "$DIR"
|
||||||
|
cd $DIR
|
||||||
git checkout "$BRANCH"
|
git checkout "$BRANCH"
|
||||||
elif [ ! -z "$GIT_BRANCH" ]; then
|
elif [ ! -z "$GIT_BRANCH" ]; then
|
||||||
git clone -b "$GIT_BRANCH" "$URL" "$DIR" --depth=1
|
git clone -b "$GIT_BRANCH" "$URL" "$DIR" --depth=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user