From 52f3da501f16ed4c4c88710cef7ff77939bcf37b Mon Sep 17 00:00:00 2001 From: penev92 Date: Mon, 20 Feb 2023 09:30:33 +0200 Subject: [PATCH] Change the way the output directory is set during packaging From OpenRA PR 20678. --- packaging/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/functions.sh b/packaging/functions.sh index 514c98f..fef9189 100644 --- a/packaging/functions.sh +++ b/packaging/functions.sh @@ -47,7 +47,7 @@ install_mod_assemblies() { done fi else - find . -maxdepth 1 -name '*.sln' -exec dotnet publish -c Release -p:TargetPlatform="${TARGETPLATFORM}" -r "${TARGETPLATFORM}" -o "${DEST_PATH}" --self-contained true \; + find . -maxdepth 1 -name '*.sln' -exec dotnet publish -c Release -p:TargetPlatform="${TARGETPLATFORM}" -r "${TARGETPLATFORM}" -p:PublishDir="${DEST_PATH}" --self-contained true \; cd "${ORIG_PWD}" || exit 1 fi }