summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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