diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2022-02-03 15:17:51 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2022-02-03 15:17:51 -0300 |
commit | 014544bd0b29f69d088f28ff748ee9192f02d0ef (patch) | |
tree | 32932eedcfb41810f3f0b648e79f8bf39a57b0ff /git-hooks/post-receive | |
parent | 8a116a774ae5cbbde1119d02894ea54f94e13234 (diff) |
Add support for soupault 4.x.y (experimental)
Diffstat (limited to 'git-hooks/post-receive')
-rwxr-xr-x | git-hooks/post-receive | 3 |
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() |