We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2a4595 commit 132c0f2Copy full SHA for 132c0f2
packages/semantic_release_jira/index.cjs
@@ -62,7 +62,8 @@ module.exports = {
62
const jiraRegex = /\[(AEA-\d+)\]/g
63
64
for (const commit of commits) {
65
- const matches = commit.message.match(jiraRegex)
+ const firstLine = commit.message?.split("\n", 1)[0] ?? ""
66
+ const matches = firstLine.match(jiraRegex)
67
if (matches) {
68
matches.forEach(t => jiraTickets.add(t))
69
}
0 commit comments