Specify RepositoryUrl in interop test build to fix latest Source Link

pull/20202/head
James Newton-King 5 years ago
parent 5a5dc3322c
commit e318b1e56d
No known key found for this signature in database
GPG Key ID: A66B2F456BF5526
  1. 4
      templates/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh.template

@ -39,4 +39,6 @@
ln -s $(pwd)/.dotnet/dotnet /usr/local/bin/dotnet
fi
dotnet build --configuration Debug Grpc.DotNet.sln
# Cloning from a local path sets RepositoryUrl to a path and breaks Source Link.
# Override RepositoryUrl to a URL to fix Source Link. The value doesn't matter.
dotnet build --configuration Debug Grpc.DotNet.sln -p:RepositoryUrl=https://localhost

Loading…
Cancel
Save