diff --git a/.github/scripts/generate-release-contributors.sh b/.github/scripts/generate-release-contributors.sh index 88d1bfc..5265d6b 100755 --- a/.github/scripts/generate-release-contributors.sh +++ b/.github/scripts/generate-release-contributors.sh @@ -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") @@ -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/^/@/'