]> wimlib.net Git - wimlib/commitdiff
make-windows-release: Set VERSION correctly for betas
authorEric Biggers <ebiggers3@gmail.com>
Mon, 16 Jun 2014 02:11:01 +0000 (21:11 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 16 Jun 2014 02:11:05 +0000 (21:11 -0500)
make-windows-release

index ad85b802d57988f3c89f36ccafe608468f8004de..317d0a8835ffcb351120f8b39d1feed367bce658 100755 (executable)
@@ -22,7 +22,8 @@ else
        exit 2
 fi
 
-VERSION=$(grep 'This is wimlib version' README | grep -o '[0-9]\+\.[0-9]\+\.[0-9]')
+VERSION=$(grep 'This is wimlib version' README | \
+         grep -o '\<[0-9]\+\.[0-9]\+\.[0-9]\+\(-BETA\)\?\>')
 ZIPFILE=wimlib-${VERSION}-windows-${WIMLIB_ARCH}-bin.zip
 
 if ! grep -q "./configure --host=${WIMLIB_ARCH}-w64-mingw32" config.log; then