conserver/package/create-changes

14 lines
454 B
Plaintext
Raw Normal View History

2019-03-18 05:00:20 +00:00
#!/bin/bash
set -e
[ -z "$1" ] && echo "Usage: $0 tag" && exit 1
range="$1"
maj=`grep MAJOR conserver/version.h | awk '{print $NF; exit}'`
min=`grep MINOR conserver/version.h | awk '{print $NF; exit}'`
rev=`grep REV conserver/version.h | awk '{print $NF; exit}'`
ver="$maj.$min.$rev"
echo "version $ver (`date '+%B %-d, %Y'`):"
git log --no-merges --pretty=tformat:' - %s (%an <%ae>)' "$range" | tail -r | awk '{if (! l[$0]) {l[$0]++; print}}'