initial
This commit is contained in:
18
bin/changelog
Executable file
18
bin/changelog
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
echo ""
|
||||
echo "CHANGELOG"
|
||||
git tag -l | sort -u -r | while read TAG ; do
|
||||
echo
|
||||
if [ $NEXT ];then
|
||||
echo [$NEXT]
|
||||
else
|
||||
echo "[Current]"
|
||||
fi
|
||||
GIT_PAGER=cat git log --no-merges --format=" * %s" $TAG..$NEXT
|
||||
NEXT=$TAG
|
||||
done
|
||||
FIRST=$(git tag -l | head -1)
|
||||
echo
|
||||
echo [$FIRST]
|
||||
GIT_PAGER=cat git log --no-merges --format=" * %s" $FIRST
|
||||
|
Reference in New Issue
Block a user