Skip to content

Commit

Permalink
fix: allow bench init with git tags
Browse files Browse the repository at this point in the history
  • Loading branch information
revant committed May 15, 2022
1 parent f6a0471 commit c943b30
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bench/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c943b30

Please sign in to comment.