2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-19 03:25:21 +00:00

fix: allow bench init with git tags

This commit is contained in:
Revant Nandgaonkar 2022-05-15 15:39:08 +05:30
parent f6a0471de8
commit c943b30c66

View File

@ -74,6 +74,15 @@ def is_valid_frappe_branch(frappe_path:str, frappe_branch:str):
frappe_branch,
),
encoding="UTF-8",
) or subprocess.check_output(
(
"git",
"ls-remote",
"--tags",
frappe_path,
frappe_branch,
),
encoding="UTF-8",
)
if not ret:
raise InvalidRemoteException(