Skip to content

Commit

Permalink
Merge pull request #7377 from filecoin-project/mg/fix/binary-ci-check…
Browse files Browse the repository at this point in the history
…-grep

fix: escape periods to match actual periods in version
  • Loading branch information
jennijuju authored Sep 23, 2021
2 parents 2c8357b + 6786433 commit 21148c9
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 21148c9

Please sign in to comment.