Beta branch update

This commit is contained in:
Michael Stanclift 2020-05-24 20:23:19 -05:00
parent 1faab012d7
commit 7f38d43256

View File

@ -84,6 +84,20 @@ function update_gs {
exit
}
# Developer Build Update
function beta_gs {
TASKTYPE='UPDATE'
logs_export # dumps log prior to execution because script stops after successful pull
MESSAGE="Requires GitHub Installation"
echo -e "${INFO} ${MESSAGE}"
git reset --hard
git pull
git checkout origin/development
exit
}
# Pull Function
function pull_gs {
TASKTYPE='PULL'
@ -366,6 +380,13 @@ case $# in
update_gs
exit_nochange
;;
beta)
TASKTYPE='BETA'
echo -e "[${GREEN}GOOD${NC}] Beta Update Requested"
beta_gs
exit_nochange
;;
logs)
TASKTYPE='LOGS'