Print grep version

This commit is contained in:
Corneil du Plessis
2023-04-11 15:21:30 +02:00
parent 95f5596b8c
commit d64a872fb5

View File

@@ -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]+$")