conserver/package/create-changes
2019-03-26 22:25:32 -07:00

11 lines
410 B
Bash
Executable File

#!/bin/bash
set -e
[ -z "$1" ] && echo "Usage: $0 tag" && exit 1
range="$1"
date=`./package/get-version date`
changedate=`date -j -f '%Y/%m/%d' "$date" '+%B %-d, %Y'`
echo "version `./package/get-version number` ($changedate):"
git log --no-merges --pretty=tformat:' - %s (%an <%ae>)' "$range" | tail -r | awk '{if (! l[$0]) {l[$0]++; print}}' | sed -e 's/ *(Bryan Stansell <bryan@conserver.com>)$//'