Skip to content

Commit 85a8528

Browse files
committed
chore: fix awk regex escaping in release workflow
1 parent e66731e commit 85a8528

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release-on-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363
if [ -f CHANGELOG.md ]; then
6464
notes=$(awk -v ver="$VERSION" '
6565
BEGIN{p=0}
66-
$0 ~ "^## \\["ver"\\]" {p=1; print; next}
67-
p && /^## \\[/{exit}
66+
$0 ~ "^## [[]"ver"[]]" {p=1; print; next}
67+
p && /^## [[]/{exit}
6868
p {print}
6969
' CHANGELOG.md)
7070
if [ -z "$notes" ]; then

0 commit comments

Comments
 (0)