From d14da5a84b693cc6a8c0e0d6deef879bcabadbbd Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 25 Feb 2010 12:12:15 -0500 Subject: Fix release script to handle version numbers with multiple digits --- scripts/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/release.sh b/scripts/release.sh index 1b5cca45..7a5f0185 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -7,7 +7,7 @@ function config() } SAVED_PWD=$PWD -version=`grep '\[VERSION_NUMBER], \[.*\]' version.m4 |grep '[0-9]\.[0-9]\.[0-9]' -o` +version=`grep '\[VERSION_NUMBER], \[.*\]' version.m4 |grep '[0-9]\+\.[0-9]\+\.[0-9]\+' -o` tag=$(echo ${version} | tr "." "_") trap "cd $SAVED_PWD; rm -rf sssd-${version} sssd-${version}.tar" EXIT -- cgit