aboutsummaryrefslogtreecommitdiff
path: root/checkout.py
diff options
context:
space:
mode:
Diffstat (limited to 'checkout.py')
-rwxr-xr-xcheckout.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/checkout.py b/checkout.py
index 3b6932e..4dad742 100755
--- a/checkout.py
+++ b/checkout.py
@@ -54,7 +54,10 @@ for submodule in submodules.keys():
if target_release == "master":
target_head = "origin/master"
else:
- target_head = f"refs/tags/{target_release}"
+ if submodule == "jellyfin-server-windows":
+ target_head = "origin/master"
+ else:
+ target_head = f"refs/tags/{target_release}"
# Checkout the given head and reset the working tree
submodules[submodule].head.reference = target_head
submodules[submodule].head.reset(index=True, working_tree=True)
bgstack15