mirror of
https://github.com/frappe/bench.git
synced 2024-11-17 02:25:16 +00:00
fix: missing installed branch
This commit is contained in:
parent
67df07b732
commit
af3c871632
@ -418,7 +418,13 @@ def install_resolved_deps(
|
|||||||
try:
|
try:
|
||||||
installed_branch = bench.apps.states[repo_name]["resolution"]["branch"].strip()
|
installed_branch = bench.apps.states[repo_name]["resolution"]["branch"].strip()
|
||||||
except:
|
except:
|
||||||
installed_branch = None
|
installed_branch = (
|
||||||
|
subprocess.
|
||||||
|
check_output("git rev-parse --abbrev-ref HEAD", shell=True, cwd=path_to_app)
|
||||||
|
.decode("utf-8")
|
||||||
|
.rstrip()
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
if app.tag is None:
|
if app.tag is None:
|
||||||
current_remote = (
|
current_remote = (
|
||||||
|
Loading…
Reference in New Issue
Block a user