diff options
-rwxr-xr-x | tools/git-contrib.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/git-contrib.sh b/tools/git-contrib.sh index 23012a587a..4b680d2802 100755 --- a/tools/git-contrib.sh +++ b/tools/git-contrib.sh @@ -2,6 +2,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later set -eu -git shortlog --author=noreply@weblate.org --invert-grep -s `git describe --abbrev=0 --match 'v[0-9][0-9][0-9]'`.. | \ - awk '{ $1=""; print $0 "," }' | \ +tag="$(git describe --abbrev=0 --match 'v[0-9][0-9][0-9]')" +git log --pretty=tformat:%aN --author=noreply@weblate.org --invert-grep -s "${tag}.." | \ + sed 's/ / /g; s/--/-/g; s/.*/ \0,/' | sort -u |