Skip to content

Commit 859c78c

Browse files
authored
Align generate-release-contributors.sh across repos (#397)
1 parent 8dbfd99 commit 859c78c

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from_version=$1
1414

1515
# get the date of the first commit that was not in the from_version
16-
from=$(git log --reverse --pretty=format:"%cI" $from_version..HEAD | head -1)
16+
from=$(git log --reverse --pretty=format:"%cI" "$from_version..HEAD" | head -1)
1717

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

82-
echo $contributors1 $contributors2 \
82+
echo "$contributors1" "$contributors2" \
8383
| sed 's/ /\n/g' \
8484
| sort -uf \
85-
| grep -v linux-foundation-easycla \
85+
| grep -v codecov \
86+
| grep -v copilot-pull-request-reviewer \
87+
| grep -v copilot-swe-agent \
8688
| grep -v github-actions \
87-
| grep -v renovate \
89+
| grep -v github-advanced-security \
90+
| grep -v linux-foundation-easycla \
8891
| grep -v otelbot \
89-
| grep -v codecov \
92+
| grep -v renovate \
9093
| sed 's/^/@/'

0 commit comments

Comments
 (0)