Skip to content

Commit

Permalink
fix: escape periods to match actual periods in version
Browse files Browse the repository at this point in the history
  • Loading branch information
placer14 committed Sep 22, 2021
1 parent 2c8357b commit 6786433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/version-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 6786433

Please sign in to comment.