summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-09-29 10:11:37 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-10-13 11:22:03 -0400
commite5699b859d976314b828c19a8b243eff3b8af969 (patch)
tree538a92b0777c7dd13465f5086effa24f1cf67181
parentcc5af1fb0e325b234d3203e54d177e958f2489a8 (diff)
downloadsssd2-maint-0.6.tar.gz
sssd2-maint-0.6.tar.xz
sssd2-maint-0.6.zip
Updating release script to use the VERSION filemaint-0.6
-rwxr-xr-xscripts/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index 93b6c16c..9533eb9e 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -7,7 +7,7 @@ function config()
}
SAVED_PWD=$PWD
-version=$(grep "^AC_INIT" configure.ac | grep -E -o \[[0-9.]+\] | tr -d [])
+version=`head -n1 VERSION`
tag=$(echo ${version} | tr "." "_")
trap "cd $SAVED_PWD; rm -rf sssd-${version} sssd-${version}.tar" EXIT