git-changelog_eklendi
This commit is contained in:
parent
77cc7d0da5
commit
e8684f41ea
1 changed files with 11 additions and 0 deletions
11
changelog.sh
Normal file
11
changelog.sh
Normal 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
|
Loading…
Add table
Reference in a new issue