diff options
| author | Bobby <[email protected]> | 2022-11-05 03:19:46 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-11-05 03:19:46 -0400 |
| commit | 880bf33c0a3a69918bb1fadd5969d6ac5a2c0ba0 (patch) | |
| tree | 1dff418e40230fd30ddcd251eb166c7481cfaedd /scripts | |
| parent | 3487049d5b7ada8b9e10cb5500e2f5c4249a13d8 (diff) | |
| download | texty-880bf33c0a3a69918bb1fadd5969d6ac5a2c0ba0.tar.xz texty-880bf33c0a3a69918bb1fadd5969d6ac5a2c0ba0.zip | |
refactor: Updated maintainers
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/maintainers.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/maintainers.py b/scripts/maintainers.py index 2ab3b0f..b4111b2 100644 --- a/scripts/maintainers.py +++ b/scripts/maintainers.py @@ -36,11 +36,8 @@ def main(): image_url = "https://github.com/{}.png?size=40".format(maintainer['github']) maintainer_images += " ".format(maintainer['name'], image_url) - # Remove everything below "<!-- maintainers -->" in the README.md file - readme = readme.split("<!-- maintainers -->")[0] - - # Add the list of maintainers to the README.md file - readme += "<!-- maintainers -->\r" + maintainers_list + "\r" + maintainer_images + # Replace "<!-- maintainers -->" in the README.md file + readme = readme.replace("<!-- maintainers -->", "<!-- maintainers -->\r" + maintainers_list + "\r" + maintainer_images) # Save the README.md file with open('README.md', 'w') as f: |
