|
10 | 10 | from_version=$1 |
11 | 11 |
|
12 | 12 | # get the date of the first commit that was not in the from_version |
13 | | -from=$(git log --reverse --pretty=format:"%cI" $from_version..HEAD | head -1) |
| 13 | +from=$(git log --reverse --pretty=format:"%cI" "$from_version..HEAD" | head -1) |
14 | 14 |
|
15 | 15 | # get the last commit on main that was included in the release |
16 | 16 | to=$(git merge-base origin/main HEAD | xargs git log -1 --pretty=format:"%cI") |
@@ -69,22 +69,22 @@ query($q: String!, $endCursor: String) { |
69 | 69 | } |
70 | 70 | } |
71 | 71 | ' --jq '.data.search.edges.[].node.body' \ |
72 | | - | grep -oE "#[0-9]{3,}$|#[0-9]{3,}[^0-9<&#;]|$GITHUB_REPOSITORY/issues/[0-9]{3,}" \ |
73 | | - | grep -oE "[0-9]{3,}" \ |
| 72 | + | grep -oE "#[0-9]{4,}$|#[0-9]{4,}[^0-9<]|$GITHUB_REPOSITORY/issues/[0-9]{4,}" \ |
| 73 | + | grep -oE "[0-9]{4,}" \ |
74 | 74 | | xargs -I{} gh issue view {} --json 'author,url' --jq '[.author.login,.url]' \ |
75 | 75 | | grep -v '/pull/' \ |
76 | 76 | | sed 's/^\["//' \ |
77 | 77 | | sed 's/".*//') |
78 | 78 |
|
79 | | -# TODO (trask) can remove dependabot line after next release |
80 | | -echo $contributors1 $contributors2 \ |
| 79 | +echo "$contributors1" "$contributors2" \ |
81 | 80 | | sed 's/ /\n/g' \ |
82 | 81 | | sort -uf \ |
| 82 | + | grep -v codecov \ |
83 | 83 | | grep -v copilot-pull-request-reviewer \ |
84 | 84 | | grep -v copilot-swe-agent \ |
85 | 85 | | grep -v github-actions \ |
86 | 86 | | grep -v github-advanced-security \ |
87 | 87 | | grep -v linux-foundation-easycla \ |
88 | | - | grep -v renovate \ |
89 | 88 | | grep -v otelbot \ |
| 89 | + | grep -v renovate \ |
90 | 90 | | sed 's/^/@/' |
0 commit comments