Skip to content

Commit

Permalink
refactor: commit custom_components readme
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdovhan committed Jun 19, 2024
1 parent b2f3899 commit bbe6f49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helpers/commit_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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:
Expand Down

0 comments on commit bbe6f49

Please sign in to comment.