Skip to content

Commit 47e5d97

Browse files
Update .github/workflows/create-tag-on-merge.yml
Co-authored-by: gitstream-cm[bot] <111687743+gitstream-cm[bot]@users.noreply.github.com>
1 parent aef6a00 commit 47e5d97

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
@@ -44,7 +44,7 @@ jobs:
4444
// Extract only the Purpose section from PR description
4545
let releaseNote = 'No description provided';
4646
if (pr.body) {
47-
const purposeMatch = pr.body.match(/Purpose:\s*(.+?)(?:\n|Main changes:|$)/s);
47+
const purposeMatch = pr.body.match(/Purpose:\s*([^\n]+)/);
4848
4949
if (purposeMatch) {
5050
releaseNote = purposeMatch[1].trim();

0 commit comments

Comments
 (0)