mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
testing
This commit is contained in:
@@ -83,9 +83,9 @@ function check_for_updates() {
|
|||||||
echo -e ${ACTION}Checking Git repo
|
echo -e ${ACTION}Checking Git repo
|
||||||
echo -e =======================${NOCOLOR}
|
echo -e =======================${NOCOLOR}
|
||||||
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||||
if [ "$BRANCH" != "master" ]
|
if [ "$BRANCH" != "testing" ]
|
||||||
then
|
then
|
||||||
echo -e ${ERROR}Not on master. Aborting. ${NOCOLOR}
|
echo -e ${ERROR}Not on testing. Aborting. ${NOCOLOR}
|
||||||
echo
|
echo
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user