mirror of
https://github.com/frappe/bench.git
synced 2024-11-13 16:56:33 +00:00
fix: allow bench init with git tags
This commit is contained in:
parent
f6a0471de8
commit
c943b30c66
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user