diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-08-27 14:25:24 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-08-27 14:25:24 +0200 |
commit | 4608fa4ae645562e40fe61e08f78b4a8113e5d91 (patch) | |
tree | 553c9e11dae29499ace94c26690bf5974ef3f3c2 /scripts | |
parent | ad691b191afd91bb747b6bbaa04c54303c6d581a (diff) | |
download | curl-4608fa4ae645562e40fe61e08f78b4a8113e5d91.tar.gz |
scripts: improve the "get latest curl release tag" logic
... by insiting on it matching "^curl-".
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/contributors.sh | 2 | ||||
-rwxr-xr-x | scripts/contrithanks.sh | 2 | ||||
-rwxr-xr-x | scripts/delta | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/contributors.sh b/scripts/contributors.sh index 6a6d34484..e9b426968 100755 --- a/scripts/contributors.sh +++ b/scripts/contributors.sh @@ -34,7 +34,7 @@ if test "$start" = "-h"; then exit fi if test -z "$start"; then - start=`git tag --sort=taggerdate | tail -1`; + start=`git tag --sort=taggerdate | grep "^curl-" | tail -1`; echo "Since $start:" fi diff --git a/scripts/contrithanks.sh b/scripts/contrithanks.sh index 641259216..0d16a3b90 100755 --- a/scripts/contrithanks.sh +++ b/scripts/contrithanks.sh @@ -33,7 +33,7 @@ if test "$start" = "-h"; then exit fi if test -z "$start"; then - start=`git tag --sort=taggerdate | tail -1`; + start=`git tag --sort=taggerdate | grep "^curl-" | tail -1`; fi diff --git a/scripts/delta b/scripts/delta index 4b8a08915..f3781212b 100755 --- a/scripts/delta +++ b/scripts/delta @@ -35,7 +35,7 @@ if($start eq "-h") { exit; } elsif($start eq "") { - $start = `git tag --sort=taggerdate | tail -1`; + $start = `git tag --sort=taggerdate | grep "^curl-" | tail -1`; chomp $start; } |