diff options
author | Your Name | 2021-01-21 10:17:59 +0100 |
---|---|---|
committer | Your Name | 2021-01-21 10:17:59 +0100 |
commit | d2eb6c042f45cc57905a27478a2db443cc479fe9 (patch) | |
tree | bee0178c31bd226ca341701c75d460f89f2d6089 | |
parent | b36123ffdb878a7278da29b82ca82540fd2fd323 (diff) | |
download | aur-d2eb6c042f45cc57905a27478a2db443cc479fe9.tar.gz |
next iteration
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | changelog | 6 |
2 files changed, 6 insertions, 5 deletions
@@ -56,7 +56,7 @@ _gitLogByDay() { local NEXT=$(date +%F) local SINCE="1970-01-01" local UNTIL=$NEXT - local LOG_FORMAT="* %s %an" + local LOG_FORMAT="* %s" git log --no-merges --since="${SINCE}" --until="${UNTIL}" --format="%cd" --date=short --follow . | sort -u | while read DATE ; do local GIT_PAGER=$(git log --no-merges --reverse --format="${LOG_FORMAT}" --since="${DATE} 00:00:00" --until="${DATE} 23:59:59" --author="${AUTHOR}" --follow . | uniq) if [ ! -z "$GIT_PAGER" ] @@ -67,7 +67,8 @@ _gitLogByDay() { fi done } -if git rev-parse ; +if [ ! -e "changelog" ] \ + || git rev-parse ; then _gitLogByDay > changelog changelog="changelog" diff --git a/changelog b/changelog index 4e9c1d088114..100731c1142c 100644 --- a/changelog +++ b/changelog @@ -1,7 +1,7 @@ [2021-01-11] -* add addons Your Name -* handle repo without tags Your Name +* add addons +* handle repo without tags [2021-01-12] -* handle repo without tags Your Name +* handle repo without tags |