Skip to content

Commit 2dc6fba

Browse files
authored
chore: remove redundant pack prequisite check (#25721)
#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*
1 parent 8498740 commit 2dc6fba

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

scripts/check-pack-prerequisites.sh

+1-7
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,7 @@ if [ $(echo $app_v | grep -c -E "1\.[89]\.[0-9].*") -eq 1 ] || [ $(echo $app_v |
5757
then
5858
echo "Ok"
5959
else
60-
# 11 or 14 or 15 or 16
61-
if [ $(echo $app_v | grep -c -E "1[1-6]\.[0-9]\.[0-9].*") -eq 1 ]
62-
then
63-
echo "Ok"
64-
else
65-
wrong_version
66-
fi
60+
wrong_version
6761
fi
6862

6963
# [Apache Maven >= 3.6.0, < 4.0]

0 commit comments

Comments
 (0)