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:
parent
f6a0471de8
commit
c943b30c66
@ -74,6 +74,15 @@ def is_valid_frappe_branch(frappe_path:str, frappe_branch:str):
|
|||||||
frappe_branch,
|
frappe_branch,
|
||||||
),
|
),
|
||||||
encoding="UTF-8",
|
encoding="UTF-8",
|
||||||
|
) or subprocess.check_output(
|
||||||
|
(
|
||||||
|
"git",
|
||||||
|
"ls-remote",
|
||||||
|
"--tags",
|
||||||
|
frappe_path,
|
||||||
|
frappe_branch,
|
||||||
|
),
|
||||||
|
encoding="UTF-8",
|
||||||
)
|
)
|
||||||
if not ret:
|
if not ret:
|
||||||
raise InvalidRemoteException(
|
raise InvalidRemoteException(
|
||||||
|
Loading…
Reference in New Issue
Block a user