From 66b0d20b793f77ac18d0dc7e5d53e4bc55e88587 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 29 Mar 2024 06:48:21 +0100 Subject: [PATCH] feat(readme-generator/regen_readme_in_batch): git add ALL_README.md --- readme_generator/regen_readme_in_batch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/readme_generator/regen_readme_in_batch.py b/readme_generator/regen_readme_in_batch.py index 9bdadf0..431e7a1 100644 --- a/readme_generator/regen_readme_in_batch.py +++ b/readme_generator/regen_readme_in_batch.py @@ -43,6 +43,7 @@ async def regen_readme(repository, branch): generate_READMEs(folder) await git(["add", "README*.md"], in_folder=folder) + await git(["add", "ALL_README.md"], in_folder=folder) diff_not_empty = await asyncio.create_subprocess_shell(" ".join(["git", "diff", "HEAD", "--compact-summary"]), cwd=folder, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.STDOUT) diff_not_empty = await diff_not_empty.stdout.read()