1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

announceybot formatting

This commit is contained in:
Rene Schallner 2023-05-22 03:43:44 +02:00
parent cbd1c98f47
commit 5b0bb9c166

View file

@ -25,7 +25,7 @@ def get_tag_annotation(tagname):
f"{TAG_NAME}",
], capture_output=True)
text = ret.stdout.decode("utf-8")
return text.replace("'", "").replace('"', '\\"')
return text.replace("'", "")
def get_replacement():
@ -40,16 +40,14 @@ def get_replacement():
if __name__ == '__main__':
annotation = get_tag_annotation(TAG_NAME)
zon_update = get_replacement().replace('"', '\\"')
message = f'''# TEST-RUN TEST-RUN TEST-RUN
zon_update = get_replacement()
message = f''' __**New release {TAG_NAME}!**__
# New release {TAG_NAME}!
## Updates
**Updates**
{annotation}
## Using it
**Using it**
Modify your `build.zig.zon` like this: