Skip to content

Commit 1a1625b

Browse files
committed
Fixed script/mkchangelog
1 parent eff2b96 commit 1a1625b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/mkchangelog

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,19 @@ fi
7575
LANG=C
7676

7777
case "$tag" in
78-
[0-9][0-9]*.[0-9]*.[0-9]*..[0-9].[0-9]*.[0-9]*)
78+
[0-9]*.[0-9]*.[0-9]*..[0-9]*.[0-9]*.[0-9]*)
7979
vfrom="$(echo $tag | sed 's/\.\..*//')"
8080
vto="$(echo $tag | sed 's/.*\.\.//')"
8181
;;
82-
V[0-9][0-9]*.[0-9]*.[0-9]*..V[0-9].[0-9]*.[0-9]*)
82+
V[0-9]*.[0-9]*.[0-9]*..V[0-9]*.[0-9]*.[0-9]*)
8383
vfrom="$(echo $tag | sed -e s/V//g -e 's/\.\..*//')"
8484
vto="$(echo $tag | sed -e s/V//g -e 's/.*\.\.//')"
8585
;;
86-
[0-9][0-9]*.[0-9]*.[0-9]*)
86+
[0-9]*.[0-9]*.[0-9]*)
8787
vfrom="$tag"
8888
vto=
8989
;;
90-
V[0-9][0-9]*.[0-9]*.[0-9]*)
90+
V[0-9]*.[0-9]*.[0-9]*)
9191
vfrom="$(echo $tag | sed s/V//)"
9292
vto=
9393
;;
@@ -104,7 +104,7 @@ shift
104104

105105
vvtag()
106106
{ case $1 in
107-
[0-9].[0-9]*.[0-9]*)
107+
[0-9]*.[0-9]*.[0-9]*)
108108
echo V$1
109109
;;
110110
*)

0 commit comments

Comments
 (0)