From 2176c6534872b1229a24f34ddd5eebae1ea08a76 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 22 Jan 2010 09:57:39 -0500 Subject: Fix release script to use version.m4 --- 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 9533eb9e..1b5cca45 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -7,7 +7,7 @@ function config() } SAVED_PWD=$PWD -version=`head -n1 VERSION` +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