File: create-changes

package info (click to toggle)
conserver 8.2.7-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,856 kB
  • sloc: ansic: 22,275; sh: 3,623; makefile: 285
file content (10 lines) | stat: -rwxr-xr-x 394 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

set -e

[ -z "$1" ] && echo "Usage: $0 tag" && exit 1
range="$1"
date=`./gen-version date`
changedate=`date -j -f '%Y/%m/%d' "$date" '+%B %-d, %Y'`
echo "version `./gen-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>)$//'