From aa315f041a0fecd55187e80123ebe5c886f346b8 Mon Sep 17 00:00:00 2001 From: Andrew Aladjev Date: Tue, 11 May 2021 15:07:41 +0300 Subject: [PATCH] fixed release script --- scripts/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index 5349ae2..b100d50 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -58,7 +58,7 @@ cd ".." # Packing source. -VERSION=$(grep "LZWS_VERSION" "CMakeLists.txt" | sed "s/.*LZWS_VERSION\s*['\"]\([0-9.]*\).*/\1/g") +VERSION=$(grep "LZWS_VERSION" "CMakeLists.txt" | sed "s/.*LZWS_VERSION[[:space:]]*['\"]\([0-9.]*\).*/\1/g") NAME="lzws-${VERSION}" COMPRESSION_LEVEL="-9"