Skip to content

Commit

Permalink
Fix release script to handle version numbers with multiple digits
Browse files Browse the repository at this point in the history
  • Loading branch information
sgallagher committed Feb 25, 2010
1 parent 90ae01c commit d14da5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d14da5a

Please sign in to comment.