Add Windows installer submodule

This commit is contained in:
Joshua M. Boniface 2024-03-12 23:29:40 -04:00
parent deb844f1cb
commit f043730c30
3 changed files with 8 additions and 1 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "jellyfin-web"] [submodule "jellyfin-web"]
path = jellyfin-web path = jellyfin-web
url = https://github.com/jellyfin/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

View File

@ -54,7 +54,10 @@ for submodule in submodules.keys():
if target_release == "master": if target_release == "master":
target_head = "origin/master" target_head = "origin/master"
else: 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 # Checkout the given head and reset the working tree
submodules[submodule].head.reference = target_head submodules[submodule].head.reference = target_head
submodules[submodule].head.reset(index=True, working_tree=True) submodules[submodule].head.reset(index=True, working_tree=True)

@ -0,0 +1 @@
Subproject commit ffc1ffb7c869beb409b8c52a5fc3d3b5edec6f1e