summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-09-29 10:11:37 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-09-29 10:12:55 -0400
commitcc6e9b5cee10866bee32cfd7ac0d077bd1806bf8 (patch)
treeac0a8b2ad3b26415ae8b0e2c235f2418537d8311 /scripts
parent5cada7fa7f822ac064f3f5d452f7f32fc4595bd4 (diff)
downloadsssd-cc6e9b5cee10866bee32cfd7ac0d077bd1806bf8.tar.gz
sssd-cc6e9b5cee10866bee32cfd7ac0d077bd1806bf8.tar.xz
sssd-cc6e9b5cee10866bee32cfd7ac0d077bd1806bf8.zip
Updating release script to use the VERSION file
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index 93b6c16c8..9533eb9e3 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