mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Beta branch update
This commit is contained in:
parent
1faab012d7
commit
7f38d43256
@ -84,6 +84,20 @@ function update_gs {
|
|||||||
exit
|
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
|
# Pull Function
|
||||||
function pull_gs {
|
function pull_gs {
|
||||||
TASKTYPE='PULL'
|
TASKTYPE='PULL'
|
||||||
@ -366,6 +380,13 @@ case $# in
|
|||||||
update_gs
|
update_gs
|
||||||
exit_nochange
|
exit_nochange
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
beta)
|
||||||
|
TASKTYPE='BETA'
|
||||||
|
echo -e "[${GREEN}GOOD${NC}] Beta Update Requested"
|
||||||
|
beta_gs
|
||||||
|
exit_nochange
|
||||||
|
;;
|
||||||
|
|
||||||
logs)
|
logs)
|
||||||
TASKTYPE='LOGS'
|
TASKTYPE='LOGS'
|
||||||
|
Loading…
Reference in New Issue
Block a user