Skip to content

Commit

Permalink
fix(core): Fix dotnet version check to allow .NET 7.0 (#24467)
Browse files Browse the repository at this point in the history
Fix dotnet version check to allow .NET 7.0

Closes #24466.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
markusl authored Mar 6, 2023
1 parent 3e2f05b commit a4856e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-build-prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ app_min="6.0.100"
check_which $app $app_min
app_v=$(${app} --list-sdks)
echo -e "Checking dotnet version... \c"
if [ $(echo $app_v | grep -c -E "6\.[0-9]+\.[0-9]+") -eq 1 ]
if [ $(echo $app_v | grep -c -E "[67]\.[0-9]+\.[0-9]+") -eq 1 ]
then
echo "Ok"
else
Expand Down

0 comments on commit a4856e9

Please sign in to comment.