Signed-off-by: Matt Darfeuille <matd...@gmail.com>
---
 build/release | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/build/release b/build/release
index b54386c0..6bb7a482 100755
--- a/build/release
+++ b/build/release
@@ -307,6 +307,10 @@ elif [ -n "$CHECKOUT_BRANCH_NAME" ]; then
     checkout_branch_func $WEBDIR $CHECKOUT_BRANCH_NAME
 fi
 
+if ! grep "$VERSION"; then
+    fatal_error "File $WEBDIR/index.html does not contain \"${VERSION}\"."
+fi
+
 if [ -z "$GIT_CODE_OBJECT" -a -z "$GIT_RELEASE_OBJECT" ]; then
     create_tag $GIT
     create_tag $GITRELEASEDIR
-- 
2.17.0


------------------------------------------------------------------------------
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
Shorewall-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to