summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-25 12:12:15 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-25 12:12:15 -0500
commitd14da5a84b693cc6a8c0e0d6deef879bcabadbbd (patch)
treef389778ca3a1bc5b28054303d33a637057293b57
parent90ae01c76af22a9044fe905a2a086de8f56d6dc8 (diff)
downloadsssd-d14da5a84b693cc6a8c0e0d6deef879bcabadbbd.tar.gz
sssd-d14da5a84b693cc6a8c0e0d6deef879bcabadbbd.tar.bz2
sssd-d14da5a84b693cc6a8c0e0d6deef879bcabadbbd.zip
Fix release script to handle version numbers with multiple digits
-rwxr-xr-xscripts/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index 1b5cca45..7a5f0185 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -7,7 +7,7 @@ function config()
}
SAVED_PWD=$PWD
-version=`grep '\[VERSION_NUMBER], \[.*\]' version.m4 |grep '[0-9]\.[0-9]\.[0-9]' -o`
+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