Skip to content

Commit

Permalink
improve doxygen escapes and fix tag passed to git-cliff
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Oct 6, 2024
1 parent 3a7626b commit 3c519cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ commit_preprocessors = [
# remove issue numbers from commits
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "" },
# escape doxygen command prefixes
{ pattern = '\s(@\w)', replace = " \\$1" },
{ pattern = '\s(\\\w)', replace = " \\$1" },
{ pattern = '(\s?)(@\w)', replace = "$1\\$2" },
{ pattern = '(\s?)(\\\w)', replace = "$1\\$2" },
{ pattern = '(\s?)(#\w)', replace = "$1\\$2" },
]
# regex for parsing and grouping commits
commit_parsers = [
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/increment_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_changelog(
"FIRST_COMMIT": first_commit,
"GIT_CLIFF_CONFIG": str(GIT_CLIFF_CONFIG),
"GIT_CLIFF_OUTPUT": str(output),
"GIT_CLIFF_TAG": tag,
"GIT_CLIFF_TAG": f"v{tag}",
}
subprocess.run(args, env=env, check=True)
if full:
Expand Down

0 comments on commit 3c519cc

Please sign in to comment.