Skip to content

Commit

Permalink
fix version check
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jul 22, 2024
1 parent c95b6ec commit b9d8458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ ${VERSION_CHECK} == 'master' ]]; then
exit 0
fi

if [[ ${VERSION_INSTALLED} =~ ^${VERSION_CHECK}\.[0-9]+ ]]; then
if [[ ${VERSION_INSTALLED} =~ ^${VERSION_CHECK}$ ]]; then
echo "version check ok: ${VERSION_INSTALLED}"
exit 0
fi
Expand Down

0 comments on commit b9d8458

Please sign in to comment.