summaryrefslogtreecommitdiff
path: root/releases/friends.sh
blob: 453f5d3798d7a9cc1e2d95625da2ca19646e9b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash

set -eu
set -o pipefail

cd "$(dirname $0)"

if [[ -z "${1+x}" ]]; then
    read -p "List friends since which commit/tag? " since
    echo
else
    since=$1
fi

git shortlog -s -n "$since.." \
    | cut -f 2- \
    | sort -u \
    | grep -v bors\-servo \
    | xargs -I{} echo "- {}"