diff --git a/get-build-version-params.sh b/get-build-version-params.sh index e1c474c8..22384fed 100755 --- a/get-build-version-params.sh +++ b/get-build-version-params.sh @@ -9,7 +9,7 @@ fi # get the target release version and type export BUILD_VERSION=$(cat $SCDIR/version/RELEASE_VERSION) - +grep --version 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]+$")