From: Ulya Trofimovich Date: Sun, 27 Jul 2014 06:50:53 +0000 (+0300) Subject: release.sh: allow version of a more general form. X-Git-Tag: 0.13.7.2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d8adede65122196933bc7bc99068e253adc7ab3;p=re2c release.sh: allow version of a more general form. --- diff --git a/re2c/release.sh b/re2c/release.sh index a91f39c5..fc2660f1 100755 --- a/re2c/release.sh +++ b/re2c/release.sh @@ -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