mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
announceybot formatting
This commit is contained in:
parent
cbd1c98f47
commit
5b0bb9c166
1 changed files with 5 additions and 7 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue