diff --git a/moonraker/components/update_manager/git_deploy.py b/moonraker/components/update_manager/git_deploy.py index fa5fbf1..3ee1f06 100644 --- a/moonraker/components/update_manager/git_deploy.py +++ b/moonraker/components/update_manager/git_deploy.py @@ -584,6 +584,8 @@ class GitRepo: commit = tag = "?" try: commit = await self.rev_list("--tags --max-count=1") + if not commit: + return "?", "?" tag = await self.describe(f"--tags {commit}") except Exception: pass