mirror of https://github.com/zulip/zulip.git
upgrade-zulip-from-git: CWD will be the cache directory.
96e42b8e81
broke this when it split out the steps to reset the
upstream.
This commit is contained in:
parent
7c9677becd
commit
63e31a6de4
|
@ -16,6 +16,7 @@ from scripts.lib.zulip_tools import (
|
||||||
get_config,
|
get_config,
|
||||||
get_config_file,
|
get_config_file,
|
||||||
get_deploy_options,
|
get_deploy_options,
|
||||||
|
get_deploy_root,
|
||||||
get_deployment_lock,
|
get_deployment_lock,
|
||||||
make_deploy_path,
|
make_deploy_path,
|
||||||
overwrite_symlink,
|
overwrite_symlink,
|
||||||
|
@ -133,7 +134,9 @@ try:
|
||||||
preexec_fn=su_to_zulip,
|
preexec_fn=su_to_zulip,
|
||||||
)
|
)
|
||||||
|
|
||||||
subprocess.check_call(["./scripts/lib/update-git-upstream"], preexec_fn=su_to_zulip)
|
subprocess.check_call(
|
||||||
|
[os.path.join(get_deploy_root(), "scripts/lib/update-git-upstream")], preexec_fn=su_to_zulip
|
||||||
|
)
|
||||||
|
|
||||||
# Generate the deployment directory via git worktree from our local repository.
|
# Generate the deployment directory via git worktree from our local repository.
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue