Apply suggestion from @rockstardev

Co-authored-by: rockstardev <5191402+rockstardev@users.noreply.github.com>
This commit is contained in:
thgO.O 2026-01-23 14:12:29 -03:00 committed by GitHub
parent 0823d6fdc8
commit 89b42f19f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ fi
ASSEMBLY_NAME="${csprojs[0]}"
shopt -u nullglob
# Publish the csproj explicitly to avoid building the solution.
# Publish the csproj explicitly to prevent MSBuild behavior that catches .sln files, and handle retarded project folder structures like https://github.com/btcpay-monero/btcpayserver-monero-plugin/tree/master/Plugins/Monero
dotnet publish "${ASSEMBLY_NAME}" -c "${BUILD_CONFIG}" -o "/tmp/publish"
ASSEMBLY_NAME="${ASSEMBLY_NAME/.csproj/}"