diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2020-02-05 11:34:07 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-02-05 13:54:13 +0100 |
commit | d2411a78ee417570fb2f3ced2094917a32e31583 (patch) | |
tree | 650f552d3c5c71965f94c9ff12810d3f525e1c1d /scripts | |
parent | 5296abe3aff8b92efc7b1c214a6cf7531942b696 (diff) | |
download | curl-d2411a78ee417570fb2f3ced2094917a32e31583.tar.gz |
contrithanks: Use the most recent tag by default
(similar to 5296abe)
Closes #4883
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/contrithanks.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/contrithanks.sh b/scripts/contrithanks.sh index 85af71038..da395aebf 100755 --- a/scripts/contrithanks.sh +++ b/scripts/contrithanks.sh @@ -28,8 +28,12 @@ start=$1 -if test -z "$start"; then +if test "$start" = "-h"; then echo "Usage: $0 <since this tag/hash>" + exit +fi +if test -z "$start"; then + start=`git tag --sort=taggerdate | tail -1`; fi cat ./docs/THANKS |