From 67864334a389f63e097364b21d86e7d9c06fa0f1 Mon Sep 17 00:00:00 2001 From: Mike Greenberg Date: Wed, 22 Sep 2021 15:00:59 -0400 Subject: [PATCH] fix: escape periods to match actual periods in version --- scripts/version-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/version-check.sh b/scripts/version-check.sh index ee4cce686d3..4f424ca0cab 100755 --- a/scripts/version-check.sh +++ b/scripts/version-check.sh @@ -16,7 +16,7 @@ function validate_lotus_version_matches_tag(){ # get version lotus_raw_version=`${lotus_path} --version` # grep for version string - lotus_actual_version=`echo ${lotus_raw_version} | grep -oE '[0-9]+.[0-9]+.[0-9]+'` + lotus_actual_version=`echo ${lotus_raw_version} | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'` # trim leading 'v' tag=${2#v}