Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeg committed Mar 14, 2024
1 parent 61ccea0 commit a866565
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/release_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit a866565

Please sign in to comment.