git-changelog_eklendi

This commit is contained in:
milisman 2016-05-08 08:46:36 +00:00
parent 77cc7d0da5
commit e8684f41ea
1 changed files with 11 additions and 0 deletions

11
changelog.sh Normal file
View File

@ -0,0 +1,11 @@
#!/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