We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe08f0f commit b50c6ceCopy full SHA for b50c6ce
1 file changed
.github/workflows/release.yml
@@ -29,7 +29,7 @@ jobs:
29
VERSION_NUMBER="${VERSION#v}"
30
31
RELEASE_NOTES=$(awk -v ver="$VERSION_NUMBER" '
32
- $0 ~ "^## " ver "$" || $0 ~ "^## \\[" ver "\\]" { found=1; next }
+ $0 ~ "^## \\[?" ver "\\]?([[:space:]]|$)" { found=1; next }
33
found && /^## / { exit }
34
found { print }
35
' CHANGELOG.md | sed '/^[[:space:]]*$/{ /./!d }')
0 commit comments