Skip to content

Commit 3ce609c

Browse files
authored
Chore: [AEA-0000] - fix regex to match tickets (#97)
## Summary - Routine Change ### Details - fix regex to only match AEA tickets
1 parent cd3cf9f commit 3ce609c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/semantic_release_jira/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = {
5959
// Extract Jira tickets from commit messages
6060
const jiraTickets = new Set()
6161

62-
const jiraRegex = /([A-Z]+-\d+)/g
62+
const jiraRegex = /\[(AEA-\d+)\]/g
6363

6464
for (const commit of commits) {
6565
const matches = commit.message.match(jiraRegex)

0 commit comments

Comments
 (0)