tools/tag-release.sh: Fix count for translators

Translators update only po/*.po files, not the other files in po/
directory.

While at it, .github directory does not need to be listed.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
This commit is contained in:
Petr Vorel
2025-09-09 09:10:12 +02:00
committed by Petr Vorel
parent ee74674c1c
commit 086e7744cf

View File

@@ -53,18 +53,18 @@ TODO: Add changelog
## credit
Many thanks to the developers contributing to this release:
\`\`\`
$ git shortlog -sen $old_tag.. -- \$(git ls-files | grep -v ^po/)
$ git shortlog -sen $old_tag.. -- \$(git ls-files | grep -v '^po/.*\.po')
EOF
git shortlog -sen "$old_tag".. -- $(git ls-files | grep -v ^po/) .github/ >> "$credit"
git shortlog -sen "$old_tag".. -- $(git ls-files | grep -v '^po/.*\.po') >> "$credit"
cat >> "$credit" <<EOF
\`\`\`
and translators:
\`\`\`
$ git shortlog -sen $old_tag.. -- po/
$ git shortlog -sen $old_tag.. -- po/*.po
EOF
git shortlog -sen "$old_tag".. -- po/ >> "$credit"
git shortlog -sen "$old_tag".. -- po/*.po >> "$credit"
cat >> "$credit" <<EOF
\`\`\`