mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 04:55:18 +00:00
Bucky/changelog (#2673)
* update changelog, add authors script * update changelog * update changelog
This commit is contained in:
16
scripts/authors.sh
Executable file
16
scripts/authors.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Usage:
|
||||
# `./authors.sh`
|
||||
# Print a list of all authors who have committed to develop since master.
|
||||
#
|
||||
# `./authors.sh <email address>`
|
||||
# Lookup the email address on Github and print the associated username
|
||||
|
||||
author=$1
|
||||
|
||||
if [[ "$author" == "" ]]; then
|
||||
git log master..develop | grep Author | sort | uniq
|
||||
else
|
||||
curl -s "https://api.github.com/search/users?q=$author+in%3Aemail&type=Users&utf8=%E2%9C%93" | jq .items[0].login
|
||||
fi
|
||||
Reference in New Issue
Block a user