Skip to content

Commit

Permalink
attempt one
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg authored Oct 28, 2023
1 parent 890e1c5 commit fc8f50b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/changelog/generate_cl.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from pathlib import Path

from github import Github, InputGitAuthor
from ruamel import yaml
from ruamel import YAML

CL_BODY = re.compile(r":cl:(.+)?\r\n((.|\n|\r)+?)\r\n\/:cl:", re.MULTILINE)
CL_SPLIT = re.compile(r"(^\w+):\s+(\w.+)", re.MULTILINE)
Expand Down Expand Up @@ -71,6 +71,8 @@

write_cl["delete-after"] = True

yaml = YAML(typ='safe', pure=True)

with open(Path.cwd().joinpath("tools/changelog/tags.yml")) as file:
tags = yaml.safe_load(file)

Expand Down

0 comments on commit fc8f50b

Please sign in to comment.