summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-01-22 09:57:39 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-01-22 09:58:02 -0500
commit2176c6534872b1229a24f34ddd5eebae1ea08a76 (patch)
tree24786ae82d4b036753d00d71984a4ad97494b2a8
parent10e46b45ef6b52b1e81419ff3de62df6f0abe1c0 (diff)
downloadsssd-2176c6534872b1229a24f34ddd5eebae1ea08a76.tar.gz
sssd-2176c6534872b1229a24f34ddd5eebae1ea08a76.tar.bz2
sssd-2176c6534872b1229a24f34ddd5eebae1ea08a76.zip
Fix release script to use version.m4
-rwxr-xr-xscripts/release.sh2
1 files changed, 1 insertions, 1 deletions
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