File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,9 +28,7 @@ git pull || exit $?
2828git submodule update --init --recursive || exit $?
2929
3030# Update mirror
31- cd " $KAMI_MIRROR_DIR " || exit $? || exit $?
32- check_git || exit $? || exit $?
33-
31+ cd " $KAMI_MIRROR_DIR " || exit $?
3432git reset --hard master || exit $?
3533git pull " $KAMI_DIR " || exit $?
3634git submodule update --init --recursive || exit $?
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ check_var "KAMI_REPO_MAJOR" "$KAMI_REPO_MAJOR" || exit $?
1616check_var " KAMI_REPO_NIGHTLY" " $KAMI_REPO_NIGHTLY " || exit $?
1717check_var " GITHUB_TOKEN" " $GITHUB_TOKEN " || exit $?
1818check_var " KAMI_DIR" " $KAMI_DIR " || exit $?
19- check_git || exit $?
2019
2120cd " $KAMI_DIR " || exit $?
2221BRANCH=" $( git symbolic-ref -q HEAD | sed " s/^refs\/heads\///g" ) "
You can’t perform that action at this time.
0 commit comments