mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
update requirements before pre upgrade
This commit is contained in:
parent
de9427476d
commit
e5088d28b6
@ -156,8 +156,8 @@ def switch_branch(branch, apps=None, bench='.', upgrade=False):
|
||||
exec_cmd("git merge upstream/{branch}".format(branch=branch), cwd=app_dir)
|
||||
|
||||
if version_upgrade and upgrade:
|
||||
pre_upgrade(version_upgrade[0], version_upgrade[1])
|
||||
update_requirements()
|
||||
pre_upgrade(version_upgrade[0], version_upgrade[1])
|
||||
reload(utils)
|
||||
backup_all_sites()
|
||||
patch_sites()
|
||||
|
Loading…
Reference in New Issue
Block a user