Skip to content

Commit

Permalink
Fix commit message template replace.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Feb 26, 2024
1 parent 3f3889a commit b578177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function commitForRelease(
params: { [key: string]: string } = {},
): string {
return messageTemplate.replace(
/\{\{(\w+)\}\}/g,
/\{\{(\w+)\}\}/gm,
(m: string, key: string): string => {
if (Object.hasOwnProperty.call(params, key)) {
return params[key];
Expand Down

0 comments on commit b578177

Please sign in to comment.