conserver/package/create-changes

11 lines
353 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}}'