Skip to content

Commit 0989a91

Browse files
committed
Merge branch 'LINBEE-18079-gitstream-action-release-notes' of github.com:linear-b/gitstream-github-action into LINBEE-18079-gitstream-action-release-notes
2 parents 11f4b35 + 47e5d97 commit 0989a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/create-tag-on-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
let releaseNote = pr.title;
4646
4747
if (pr.body) {
48-
const purposeMatch = pr.body.match(/Purpose:\s*(.+?)(?:\n|Main changes:|$)/s);
48+
const purposeMatch = pr.body.match(/Purpose:\s*([^\n]+)/);
4949
5050
if (purposeMatch) {
5151
releaseNote = purposeMatch[1].trim();

0 commit comments

Comments
 (0)