third_party_rust_bindgen/releases/friends.sh
Nick Fitzgerald c8e237f543 Add a template for release announcements
And a script to find all the folks who contributed to the release.
2017-07-31 09:55:31 -07:00

20 lines
305 B
Bash
Executable File

#!/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 "- {}"