mirror of
https://github.com/json-c/json-c.git
synced 2026-11-05 21:20:16 +08:00
15 lines
311 B
Bash
Executable File
15 lines
311 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e -o pipefail
|
|
|
|
RUNDIR=$(dirname "$0")
|
|
TOP=${RUNDIR}/..
|
|
. "${RUNDIR}/reltools.subr"
|
|
|
|
update_authors()
|
|
{
|
|
PREV=$(get_most_recent_reltag)
|
|
NEW_AUTHORS=$( git log -r ${PREV}..HEAD | grep Author: | sed -e's/Author: //' ; cat "${TOP}/AUTHORS" )
|
|
echo "${NEW_AUTHORS}" | sort -u > "${TOP}/AUTHORS"
|
|
}
|