Skip to content

Commit 80ac148

Browse files
committed
Align generate-release-contributors.sh across repos
1 parent 08e1a20 commit 80ac148

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/scripts/generate-release-contributors.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from_version=$1
1111

1212
# 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)
1414

1515
# get the last commit on main that was included in the release
1616
to=$(git merge-base origin/main HEAD | xargs git log -1 --pretty=format:"%cI")
@@ -76,12 +76,15 @@ query($q: String!, $endCursor: String) {
7676
| sed 's/^\["//' \
7777
| sed 's/".*//')
7878

79-
echo $contributors1 $contributors2 \
79+
echo "$contributors1" "$contributors2" \
8080
| sed 's/ /\n/g' \
8181
| sort -uf \
82-
| grep -v linux-foundation-easycla \
83-
| grep -v github-actions \
84-
| grep -v renovate \
8582
| grep -v codecov \
83+
| grep -v copilot-pull-request-reviewer \
84+
| grep -v copilot-swe-agent \
85+
| grep -v github-actions \
86+
| grep -v github-advanced-security \
87+
| grep -v linux-foundation-easycla \
8688
| grep -v otelbot \
89+
| grep -v renovate \
8790
| sed 's/^/@/'

0 commit comments

Comments
 (0)