Skip to content

Commit

Permalink
chore: remove redundant pack prequisite check (#25721)
Browse files Browse the repository at this point in the history
#25239 added a regex that encompasses the additional regex check. 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
kaizencc authored May 24, 2023
1 parent 8498740 commit 2dc6fba
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions scripts/check-pack-prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,7 @@ if [ $(echo $app_v | grep -c -E "1\.[89]\.[0-9].*") -eq 1 ] || [ $(echo $app_v |
then
echo "Ok"
else
# 11 or 14 or 15 or 16
if [ $(echo $app_v | grep -c -E "1[1-6]\.[0-9]\.[0-9].*") -eq 1 ]
then
echo "Ok"
else
wrong_version
fi
wrong_version
fi

# [Apache Maven >= 3.6.0, < 4.0]
Expand Down

0 comments on commit 2dc6fba

Please sign in to comment.