mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 09:01:39 -05:00
script to thank contributors in changelog
This commit is contained in:
parent
0faf4be41a
commit
b53bbe9c01
1 changed files with 12 additions and 0 deletions
12
scripts/thanks
Executable file
12
scripts/thanks
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
export LAST_VERSION="$1"
|
||||
|
||||
allcontributors="$(git shortlog -sn $LAST_VERSION..HEAD | cut -c8- | awk '!seen[$0]++' | paste -sd "," - | sed 's/,/, /g')"
|
||||
newcontributors="$(diff --changed-group-format='%<' --unchanged-group-format='' <(git shortlog -sn $LAST_VERSION..HEAD | cut -c8- | awk '!seen[$0]++'| sort) <(git shortlog -sn $LAST_VERSION | cut -c8- | awk '!seen[$0]++'| sort) | paste -sd "," - | sed 's/,/, /g')"
|
||||
|
||||
echo "Thanks to all of our contributors for this release: $allcontributors"
|
||||
echo
|
||||
echo "Extra special thanks go to $newcontributors"
|
||||
echo
|
||||
echo Last, but not least - thank you to everyone who reported issues.
|
Loading…
Add table
Reference in a new issue