We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c56f53b commit 3e8a01cCopy full SHA for 3e8a01c
changelog.sh
@@ -0,0 +1,22 @@
1
+#!/bin/bash
2
+# Author:Andrey Nikishaev
3
+# Modified: Andrea Baldan
4
+echo "CHANGELOG"
5
+echo ----------------------
6
+git for-each-ref --sort=-taggerdate --format '%(tag)-%(*authordate)' refs/tags \
7
+ | grep -P "v[\d+\.]+" \
8
+ | while read RES ;
9
+do
10
+ IFS='-' read -a arrRES <<< "${RES}"
11
+ TAG=${arrRES[0]}
12
+ DAT=${arrRES[1]}
13
+ echo
14
+ if [ $NEXT ];then
15
+ echo [$NEXT] - $DAT
16
+ else
17
+ echo "[Current]" - $DAT
18
+ fi
19
+ GIT_PAGER=cat git log --no-merges --author="Andrea" --format=" * %s" $TAG..$NEXT
20
+ NEXT=$TAG
21
+done
22
+echo
0 commit comments