From f043730c30483b78fd091db9f8c9543a89899015 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 12 Mar 2024 23:29:40 -0400 Subject: Add Windows installer submodule --- .gitmodules | 3 +++ checkout.py | 5 ++++- jellyfin-server-windows | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 160000 jellyfin-server-windows 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 index 0000000..ffc1ffb --- /dev/null +++ b/jellyfin-server-windows @@ -0,0 +1 @@ +Subproject commit ffc1ffb7c869beb409b8c52a5fc3d3b5edec6f1e -- cgit