From a866565c551182a27bed81107e45434e0a5d41c3 Mon Sep 17 00:00:00 2001 From: Timothee Groleau Date: Thu, 14 Mar 2024 18:26:23 +0800 Subject: [PATCH] chore: add comment --- scripts/release_prep.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/release_prep.sh b/scripts/release_prep.sh index ca34d8cad..f760b12fb 100644 --- a/scripts/release_prep.sh +++ b/scripts/release_prep.sh @@ -91,6 +91,7 @@ repo_url=$(gh repo view --json url --jq '.url') tests_section="## Tests\n\n" notes_section="## Deploy Notes\n\n" +# Find relevant line items (feature PRs; not auto dep upgrades or release prs) grep -v -E -- '- [a-z]+\(deps(-dev)?\)' ${pr_body_file} | grep -v -E -- '- (release|backport) v' | grep -v -E -- '- \d+\.\d+\.\d+ ' | while read line_item; do pr_id=$(echo ${line_item} | grep -o -E '\[`#\d+`\]' | grep -o -E '\d+') pr_content=$(gh pr view ${pr_id})