mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #10363] Build Windows installer as part of packaging CI job #12455
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/10363
State: closed
Merged: No
This is more a proposal / proof of concept. I'm happy to take any suggestions and ideas, hence it's marked as a draft:
Changes
Using all the existing bits we can easily build the Windows installer for existing versions.
In this
commitPR we:Why; because being able to bundle JF installer as part of the daily builds increases the chances of finding bugs / getting fixes out. It also means that people don't have to figure out how to install ffmpeg...etc. if they want to test an unstable fix.
Limitations
The installer tags itself as the real version, this needs fixing in the upstream installer
We don't upload the installer as part of the CI to repos.jellyfin, this is partially because we don't want users easily finding "a released version", which is actually unstable but the installer is incorrect.
Some assumptions have been made about how JF web will name its files. Ideally we want a symlink which is repointed on repos.jellyfin which points to the latest version. For the moment (ab)use the date naming.
Testing
Run the docker build as follows from the source dir:
There will be an installer in

deployment/dist/jellyfin-local-windows-x64.exeTest on a Windows machine, I've got it working locally with the limitations described above:
I've also tested it with a forked pipeline to verify it plays nice with the CI (albeit with most of the packaging / testing steps deleted for my sanity) here