Skip to content

Commit

Permalink
fix: patterns matching commits
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Apr 1, 2023
1 parent 0f20e85 commit fb0ac3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cliff-template.toml
Expand Up @@ -44,8 +44,8 @@ conventional_commits = true
filter_unconventional = false
protect_breaking_commits = false
commit_preprocessors = [
{ pattern = "\((\w+\s)?#([0-9]+)\)", replace = "([#${2}](REPOSITORY_URL/issues/${2}))"},
{ pattern = "Merge pull request #([0-9]+) from [^ ]+", replace = "PR # [${1}](https://github.com/orhun/git-cliff/pull/${1}):"},
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](REPOSITORY_URL/issues/${2}))"},
{ pattern = "Merge pull request #([0-9]+) from [^ ]+", replace = "PR [#${1}](https://github.com/orhun/git-cliff/pull/${1}):"},
]
commit_parsers = [
{ message = "(?i)^feat", group = "<!-- 0 -->🚀 Features"},
Expand Down

0 comments on commit fb0ac3a

Please sign in to comment.