fix list_tags_h problem when major version is bigger than v9
./scripts.sh list-tags -h cannot handle correctly when the major version number is bigger than v9, so need to add '*' in the regular expression of major number. Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
This commit is contained in:
parent
170949505d
commit
1b72698a06
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ list_tags_h()
|
|||
{
|
||||
echo "$tags" |
|
||||
tac |
|
||||
sed -r 's/^(v[0-9])\.([0-9]*)(.*)$/\1 \1.\2 \1.\2\3/'
|
||||
sed -r 's/^(v[0-9]*)\.([0-9]*)(.*)$/\1 \1.\2 \1.\2\3/'
|
||||
}
|
||||
|
||||
get_latest()
|
||||
|
|
|
|||
Loading…
Reference in a new issue