From c63fd0a1af2e75be31413c35c25ce93aa9320a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Thu, 14 Jan 2021 14:44:11 +0100 Subject: [PATCH] docs_version_pragma_check.sh: Remove the special case for versions ending in .99 --- scripts/docs_version_pragma_check.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/docs_version_pragma_check.sh b/scripts/docs_version_pragma_check.sh index 37e6b3cdf..e165979cb 100755 --- a/scripts/docs_version_pragma_check.sh +++ b/scripts/docs_version_pragma_check.sh @@ -121,13 +121,8 @@ function findMinimalVersion() if [[ "$version" == "" ]] then - if [[ "$greater" = true && "$pragmaVersion" =~ 99 ]] - then - printError "Skipping version check for pragma: $pragmaVersion" - else - printError "No release $sign$pragmaVersion was listed in available releases!" - exit 1 - fi + printError "No release ${sign}${pragmaVersion} was listed in available releases!" + exit 1 fi }