diff options
-rw-r--r-- | .gitmodules | 3 | ||||
-rwxr-xr-x | checkout.py | 5 | ||||
m--------- | jellyfin-server-windows | 0 |
3 files changed, 7 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules index f5b3dff..cbd0eab 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "jellyfin-web"] path = jellyfin-web url = https://github.com/jellyfin/jellyfin-web +[submodule "jellyfin-server-windows"] + path = jellyfin-server-windows + url = https://github.com/jellyfin/jellyfin-server-windows.git 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) diff --git a/jellyfin-server-windows b/jellyfin-server-windows new file mode 160000 +Subproject ffc1ffb7c869beb409b8c52a5fc3d3b5edec6f1 |