diff --git a/scripts/version-check.sh b/scripts/version-check.sh index ee4cce686..4f424ca0c 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}