aboutsummaryrefslogtreecommitdiff
path: root/checkout.py
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-03-12 23:29:40 -0400
committerJoshua M. Boniface <joshua@boniface.me>2024-03-12 23:30:38 -0400
commitf043730c30483b78fd091db9f8c9543a89899015 (patch)
treed20f7229924eb9126103d5e5907637d953437e44 /checkout.py
parentRemove -V from reprepro commands (diff)
downloadjellyfin-packaging-f043730c30483b78fd091db9f8c9543a89899015.tar.gz
jellyfin-packaging-f043730c30483b78fd091db9f8c9543a89899015.tar.bz2
jellyfin-packaging-f043730c30483b78fd091db9f8c9543a89899015.zip
Add Windows installer submodule
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