Skip to content

Commit b50c6ce

Browse files
committed
🔧 fix release workflow
1 parent fe08f0f commit b50c6ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
VERSION_NUMBER="${VERSION#v}"
3030
3131
RELEASE_NOTES=$(awk -v ver="$VERSION_NUMBER" '
32-
$0 ~ "^## " ver "$" || $0 ~ "^## \\[" ver "\\]" { found=1; next }
32+
$0 ~ "^## \\[?" ver "\\]?([[:space:]]|$)" { found=1; next }
3333
found && /^## / { exit }
3434
found { print }
3535
' CHANGELOG.md | sed '/^[[:space:]]*$/{ /./!d }')

0 commit comments

Comments
 (0)