Skip to content

Commit

Permalink
Clear version data when updated (#3355)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Nov 18, 2023
1 parent 176f0e2 commit 9b8a1e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/hacs/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ async def async_install(self, version: str | None, backup: bool, **kwargs: Any)
f"Downloading {self.repository.data.full_name} with version {version or self.repository.data.last_version or self.repository.data.last_commit} failed with ({exception})"
) from exception
finally:
self.repository.data.selected_tag = None
self.repository.force_branch = False
self._update_in_progress(progress=False)

async def async_release_notes(self) -> str | None:
Expand Down

0 comments on commit 9b8a1e1

Please sign in to comment.