From bbe6f495fb9636afa3234624999441cd6a3373b6 Mon Sep 17 00:00:00 2001 From: Denys Dovhan Date: Wed, 19 Jun 2024 15:09:46 +0300 Subject: [PATCH] refactor: commit custom_components readme --- helpers/commit_updates.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/helpers/commit_updates.py b/helpers/commit_updates.py index dff1519..18728ee 100755 --- a/helpers/commit_updates.py +++ b/helpers/commit_updates.py @@ -4,6 +4,7 @@ STATUS_CMD = "git status --porcelain" README = "README.md" +CUSTOM_COMPONENTS_README = "custom_components/README.md" DOCS = "docs" HA_VERSION = ".HA_VERSION" @@ -20,6 +21,10 @@ def main(): if path == README: subprocess.run(["git", "add", README]) subprocess.run(["git", "commit", "-m", f"docs: Update README.md"]) + + if path == CUSTOM_COMPONENTS_README: + subprocess.run(["git", "add", CUSTOM_COMPONENTS_README]) + subprocess.run(["git", "commit", "-m", f"docs: Update README.md for custom_components"]) if path == HA_VERSION: with open(HA_VERSION) as file: