aboutsummaryrefslogtreecommitdiff
path: root/deployment/macos/docker-build.sh
diff options
context:
space:
mode:
authorMatt07211 <matt07211@matt07211.xyz>2020-01-28 19:37:13 +1100
committerMatt07211 <matt07211@matt07211.xyz>2020-01-28 19:37:13 +1100
commit84fbf64867b69129938c4a800c8605793bc11399 (patch)
tree0c578cfc6757233fa354da8b6dc36c7a12e7e79a /deployment/macos/docker-build.sh
parent0a95c3a1c2737d803a342beb605d8f592ea50cd3 (diff)
Fix broken webserver caused by dotnet publish.
This should be considered a temp fix, as it fixes the symptom and not the actual root cause of the issue. Why this works? I *feel like* this is a dependency issue and this change forces it to evalute dependencys in a different order, avoiding the bug.
Diffstat (limited to 'deployment/macos/docker-build.sh')
-rwxr-xr-xdeployment/macos/docker-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/macos/docker-build.sh b/deployment/macos/docker-build.sh
index 1b4a554e6..f9417388d 100755
--- a/deployment/macos/docker-build.sh
+++ b/deployment/macos/docker-build.sh
@@ -26,7 +26,7 @@ rm -rf ${web_build_dir}
version="$( grep "version:" ./build.yaml | sed -E 's/version: "([0-9\.]+.*)"/\1/' )"
# Build archives
-dotnet publish --configuration Release --self-contained --runtime osx-x64 --output /dist/jellyfin_${version}/ "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none;UseAppHost=true"
+dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime osx-x64 --output /dist/jellyfin_${version}/ "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none;UseAppHost=true"
tar -cvzf /jellyfin_${version}.portable.tar.gz -C /dist jellyfin_${version}
rm -rf /dist/jellyfin_${version}