summary refs log tree commit diff stats
path: root/git-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'git-hooks')
-rwxr-xr-xgit-hooks/post-receive3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-hooks/post-receive b/git-hooks/post-receive
index 10c3e86..f8337ad 100755
--- a/git-hooks/post-receive
+++ b/git-hooks/post-receive
@@ -94,6 +94,9 @@ def check_soupault_version(soupault):
         soupault,
         "--version"
     ], stdout=subprocess.PIPE, check=True).stdout.splitlines()[0].decode()
+    # support for soupault 4.x.y
+    if version.startswith("soupault 4."):
+        return
     if not version.startswith("soupault 3."):
         print("please use soupault 3.1.1 or newer")
         exit()