diff --git a/packaging/functions.sh b/packaging/functions.sh index 514c98f..fef9189 100755 --- 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 }