Signed-off-by: Matt Darfeuille <[email protected]>
---
 build/release | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/build/release b/build/release
index 8db88dde..b4993d64 100644
--- a/build/release
+++ b/build/release
@@ -298,7 +298,13 @@ if [ -n "$MESSAGE" ]; then
 fi
 
 case $VERSION in
-    5.1.*|5.1.*.*)
+    5.1.[0-9]|5.1.[0-9].[0-9]|5.1.[0-9][0-9]|5.1.[0-9][0-9].[0-9])
+        ;;
+    
5.1.[0-9]-BETA[0-9]|5.1.[0-9].[0-9]-BETA[0-9]|5.1.[0-9][0-9]-BETA[0-9]|5.1.[0-9][0-9].[0-9]-BETA[0-9])
+        ;;
+    
5.1.[0-9]-RC[0-9]|5.1.[0-9].[0-9]-RC[0-9]|5.1.[0-9][0-9]-RC[0-9]|5.1.[0-9][0-9].[0-9]-RC[0-9])
+        ;;
+    5.1.[0-9]-base|5.1.[0-9][0-9]-base)
         ;;
     *)
         fatal_error "Unsupported Version ${VERSION}."
-- 
2.13.2


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to