mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 09:12:58 -07:00
Reset git install to the release version
This commit is contained in:
parent
b2529db026
commit
42e33a0468
1 changed files with 1 additions and 4 deletions
|
@ -338,10 +338,7 @@ def reset():
|
||||||
output, err = runGit('checkout {}'.format(plexpy.CONFIG.GIT_BRANCH))
|
output, err = runGit('checkout {}'.format(plexpy.CONFIG.GIT_BRANCH))
|
||||||
output, err = runGit('branch -u {}/{}'.format(plexpy.CONFIG.GIT_REMOTE,
|
output, err = runGit('branch -u {}/{}'.format(plexpy.CONFIG.GIT_REMOTE,
|
||||||
plexpy.CONFIG.GIT_BRANCH))
|
plexpy.CONFIG.GIT_BRANCH))
|
||||||
output, err = runGit('reset --hard {}/{}'.format(plexpy.CONFIG.GIT_REMOTE,
|
output, err = runGit('reset --hard '.format(common.RELEASE))
|
||||||
plexpy.CONFIG.GIT_BRANCH))
|
|
||||||
output, err = runGit('pull {} {}'.format(plexpy.CONFIG.GIT_REMOTE,
|
|
||||||
plexpy.CONFIG.GIT_BRANCH))
|
|
||||||
|
|
||||||
if not output:
|
if not output:
|
||||||
logger.error('Unable to reset Tautulli installation.')
|
logger.error('Unable to reset Tautulli installation.')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue