12 lines
320 B
Bash
12 lines
320 B
Bash
#!/bin/bash
|
|
# Generates changelog day by day
|
|
NEXT=$(date +%F)
|
|
echo "CHANGELOG"
|
|
echo ----------------------
|
|
git log --no-merges --format="%cd" --date=short | sort -u -r | while read DATE ; do
|
|
echo
|
|
echo [$DATE]
|
|
GIT_PAGER=cat git log --no-merges --format=" * %s" --since=$DATE --until=$NEXT
|
|
NEXT=$DATE
|
|
done
|