Skip to content

Commit 165f92e

Browse files
update changelog script to remove backticks from summary
1 parent ef155f3 commit 165f92e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

changelogs/generatechangelogs.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,13 @@ def get_issue_structure(config, issues):
9090
if c.name not in groups:
9191
logger.error(
9292
"undefined component %s. update configuration before continuing", c.name)
93+
94+
# format issue summary to remove backticks
95+
# (necessary for next-gen)
9396

94-
issue_pair = (issue.key.encode("utf-8"),
95-
issue.fields.summary.encode("utf-8"))
97+
issue_summary = issue.fields.summary.encode("utf-8").replace('`', '')
98+
99+
issue_pair = (issue.key.encode("utf-8"), issue_summary)
96100

97101
if len(components) == 0:
98102
# if there isn't a component put this in the last grouping.

0 commit comments

Comments
 (0)