]> granicus.if.org Git - re2c/commitdiff
release.sh: allow version of a more general form.
authorUlya Trofimovich <skvadrik@gmail.com>
Sun, 27 Jul 2014 06:50:53 +0000 (09:50 +0300)
committerUlya Trofimovich <skvadrik@gmail.com>
Sun, 27 Jul 2014 06:50:53 +0000 (09:50 +0300)
re2c/release.sh

index a91f39c5ddc672bb99a280453b959398dc248ab2..fc2660f166a30e496023e831981c1b6def3e1229 100755 (executable)
@@ -11,7 +11,7 @@ version="$1"
 # edit version in configure.in
 lcontext="AC_INIT\(re2c, "
 rcontext=", re2c-general@lists\.sourceforge\.net\)"
-old="[0-9]+\.[0-9]+\.[0-9]+"
+old="[0-9]+(\.[0-9]+)*"
 new=$version
 sed -i -E "s/$lcontext$old$rcontext/$lcontext$new$rcontext/" configure.in