From 4b11ab6b1ec91b1eb5369eb9dddfa271d9ce86b7 Mon Sep 17 00:00:00 2001 From: Corneil du Plessis Date: Tue, 11 Apr 2023 15:25:49 +0200 Subject: [PATCH] Print grep version --- get-build-version-params.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-build-version-params.sh b/get-build-version-params.sh index 3efc652c..12316ad1 100755 --- a/get-build-version-params.sh +++ b/get-build-version-params.sh @@ -10,7 +10,7 @@ grep --version # get the target release version and type export BUILD_VERSION=$(cat $SCDIR/version/RELEASE_VERSION) echo "BUILD_VERSION: $BUILD_VERSION" - +set +e IS_SNAPSHOT=$(echo $BUILD_VERSION | grep -E "^.*-SNAPSHOT$") IS_MILESTONE=$(echo $BUILD_VERSION | grep -E "^.*-(M|RC)[0-9]+$") IS_GA=$(echo $BUILD_VERSION | grep -E "^.*\.[0-9]+$")