summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-08-27 14:25:24 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-08-27 14:25:24 +0200
commit4608fa4ae645562e40fe61e08f78b4a8113e5d91 (patch)
tree553c9e11dae29499ace94c26690bf5974ef3f3c2 /scripts
parentad691b191afd91bb747b6bbaa04c54303c6d581a (diff)
downloadcurl-4608fa4ae645562e40fe61e08f78b4a8113e5d91.tar.gz
scripts: improve the "get latest curl release tag" logic
... by insiting on it matching "^curl-".
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/contributors.sh2
-rwxr-xr-xscripts/contrithanks.sh2
-rwxr-xr-xscripts/delta2
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;
}