mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Fix short version number
This commit is contained in:
parent
d7f201ac74
commit
e6eab96555
1 changed files with 2 additions and 3 deletions
|
@ -25,14 +25,13 @@ if [ "x_$1" != "x_-nobuild" ]; then
|
|||
devenv.com MySQL.sln /build Debug
|
||||
fi
|
||||
|
||||
# TODO extract version number
|
||||
VER=`cat configure.in |
|
||||
perl -e 'while (<>) { if (/^AC_INIT\(\[[a-zA-Z ]*\], *\[([0-9a-zA-Z\.-]+)\]/) { print "$1\n"; exit(0)} } ; exit 1'`
|
||||
|
||||
echo Version string: $VER.
|
||||
|
||||
# Remove '-maria-' from version number
|
||||
VER_NO_MARIA=${VER/maria-/}
|
||||
# Remove '-mariaDB' from version number
|
||||
VER_NO_MARIA=${VER/-MariaDB/}
|
||||
|
||||
# We want the final zip to be named like this:
|
||||
# mariadb-noinstall-5.1.38-win32.zip
|
||||
|
|
Loading…
Reference in a new issue