mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
fix: missing installed branch
This commit is contained in:
parent
67df07b732
commit
af3c871632
@ -418,7 +418,13 @@ def install_resolved_deps(
|
||||
try:
|
||||
installed_branch = bench.apps.states[repo_name]["resolution"]["branch"].strip()
|
||||
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:
|
||||
current_remote = (
|
||||
|
Loading…
Reference in New Issue
Block a user