Add support for Debug releases

Allows specifying --debug to build.py to build Debug builds of the
server, facilitating easier debugging. This is then called by default
for weekly builds.
This commit is contained in:
Joshua M. Boniface
2025-04-11 16:50:23 -04:00
parent f651f3b5c6
commit 34ba5153c4
5 changed files with 41 additions and 28 deletions

View File

@@ -47,6 +47,7 @@ ARG ARTIFACT_DIR=/web
ARG JELLYFIN_VERSION
ENV JELLYFIN_VERSION=${JELLYFIN_VERSION}
ENV CONFIG=Release
RUN apk add \
autoconf \
@@ -85,7 +86,7 @@ WORKDIR ${SOURCE_DIR}
COPY jellyfin-server .
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
RUN dotnet publish Jellyfin.Server --arch ${DOTNET_ARCH} \
RUN dotnet publish Jellyfin.Server --arch ${DOTNET_ARCH} --configuration ${CONFIG} \
--output="${ARTIFACT_DIR}" --self-contained \
-p:DebugSymbols=false -p:DebugType=none