Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/scripts/generate-release-contributors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from_version=$1

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

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

echo $contributors1 $contributors2 \
echo "$contributors1" "$contributors2" \
| sed 's/ /\n/g' \
| sort -uf \
| grep -v linux-foundation-easycla \
| grep -v codecov \
| grep -v copilot-pull-request-reviewer \
| grep -v copilot-swe-agent \
| grep -v github-actions \
| grep -v renovate \
| grep -v github-advanced-security \
| grep -v linux-foundation-easycla \
| grep -v otelbot \
| grep -v codecov \
| grep -v renovate \
| sed 's/^/@/'
Loading