Skip to content

Commit e43e45e

Browse files
committed
Added auto-contributor to AUR PKGBUILD
1 parent 3b862cb commit e43e45e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: |
6969
export GIT_TAG=$(git describe --tags)
7070
export FILE_SHA=$(sha256sum dinfo-linux-x64-self-contained | cut -d' ' -f1)
71-
git log --pretty="# Contributor: %an <%ae>" | sort -u | sed '/^#/!d' | tee aur-deploy/PKGBUILD
71+
git shortlog --summary --email | sed -e 's/^\w*\ *//' -e 's/^\w*\ *//' -e 's/^[[:space:]]*//g' -e 's/^/# Contributor: /' | tee aur-deploy/PKGBUILD
7272
sed -i "s/VERSION_BASE/${GIT_TAG:1}/" aur-deploy/PKGBUILD.base
7373
sed -i "s/FILE_SHA_BASE/$FILE_SHA/" aur-deploy/PKGBUILD.base
7474
cat aur-deploy/PKGBUILD.base >> aur-deploy/PKGBUILD

0 commit comments

Comments
 (0)