From 0234df7aa1476b38c12879fdf3b110830f127aec Mon Sep 17 00:00:00 2001 From: Micheal Wilkinson Date: Fri, 20 Mar 2026 22:54:27 +0000 Subject: [PATCH] fix: match linked changelog headings when extracting release notes --- publish/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publish/action.yml b/publish/action.yml index 2c8c5b8..9545560 100644 --- a/publish/action.yml +++ b/publish/action.yml @@ -74,9 +74,9 @@ runs: set -euo pipefail release_notes="$(awk -v version="$RELEASE_VERSION" ' - $0 ~ "^## \\[" version "\\] - " {capture=1} + $0 ~ "^## \\[" version "\\]" {capture=1} capture { - if ($0 ~ "^## \\[" && $0 !~ "^## \\[" version "\\] - ") exit + if ($0 ~ "^## \\[" && $0 !~ "^## \\[" version "\\]") exit print } ' "$CHANGELOG")"