mirror of
https://github.com/curl/curl.git
synced 2026-06-19 23:05:39 +03:00
scripts: improve the "get latest curl release tag" logic
... by insiting on it matching "^curl-".
This commit is contained in:
parent
ad691b191a
commit
4608fa4ae6
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue