From: Frank Gevaerts Date: Wed, 5 Feb 2020 10:34:07 +0000 (+0100) Subject: contrithanks: Use the most recent tag by default X-Git-Tag: curl-7_69_0~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2411a78ee417570fb2f3ced2094917a32e31583;p=thirdparty%2Fcurl.git contrithanks: Use the most recent tag by default (similar to 5296abe) Closes #4883 --- diff --git a/scripts/contrithanks.sh b/scripts/contrithanks.sh index 85af71038e..da395aebf0 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 " + exit +fi +if test -z "$start"; then + start=`git tag --sort=taggerdate | tail -1`; fi cat ./docs/THANKS