summary refs log tree commit diff stats
path: root/git-hooks
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2022-02-03 15:17:51 -0300
committerSoniEx2 <endermoneymod@gmail.com>2022-02-03 15:17:51 -0300
commit014544bd0b29f69d088f28ff748ee9192f02d0ef (patch)
tree32932eedcfb41810f3f0b648e79f8bf39a57b0ff /git-hooks
parent8a116a774ae5cbbde1119d02894ea54f94e13234 (diff)
Add support for soupault 4.x.y (experimental)
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()