Skip to content

Commit

Permalink
git_deploy: compare upstream url to lowercase url during validation
Browse files Browse the repository at this point in the history
SIgned-off-by:  Eric Callahan <[email protected]>
  • Loading branch information
Arksine committed Jul 8, 2021
1 parent 211c7e7 commit e20c126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moonraker/components/update_manager/git_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def report_invalids(self, primary_branch: str) -> List[str]:
upstream_url = self.upstream_url.lower()
if upstream_url[-4:] != ".git":
upstream_url += ".git"
if upstream_url != self.origin_url:
if upstream_url != self.origin_url.lower():
invalids.append(f"Unofficial remote url: {self.upstream_url}")
if self.git_branch != primary_branch or self.git_remote != "origin":
invalids.append(
Expand Down

0 comments on commit e20c126

Please sign in to comment.