1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

feat(readme-generator/regen_readme_in_batch): git add ALL_README.md

This commit is contained in:
Laurent Peuch 2024-03-29 06:48:21 +01:00
parent 7e9c3db738
commit 750a92f49d

View file

@ -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()