mirror of
https://github.com/iputils/iputils.git
synced 2026-01-12 00:04:28 +08:00
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:
@@ -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
|
||||
\`\`\`
|
||||
|
||||
Reference in New Issue
Block a user