Skip to content

Commit b834ef0

Browse files
authored
Filter out empty entries in release contributors list (open-telemetry#469)
1 parent 34471c9 commit b834ef0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ query($q: String!, $endCursor: String) {
7878
| sed 's/^\["//' \
7979
| sed 's/".*//')
8080

81-
# echo separately to avoid space separator between args when contributors2 is empty
82-
{ echo "$contributors1"; echo "$contributors2"; } \
81+
echo "$contributors1" "$contributors2" \
8382
| sed 's/ /\n/g' \
8483
| sort -uf \
84+
| grep -v '^$' \
8585
| grep -v codecov \
8686
| grep -v copilot-pull-request-reviewer \
8787
| grep -v copilot-swe-agent \

0 commit comments

Comments
 (0)