Merge pull request #20202 from JamesNK/jamesnk/interop-tests-sourcelink

Specify RepositoryUrl in interop test build to fix latest Source Link
pull/20349/head
Jan Tattermusch 5 years ago committed by GitHub
commit 6571386a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      templates/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh.template
  2. 4
      tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh

@ -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://github.com/grpc/grpc-dotnet.git

@ -37,4 +37,6 @@ then
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://github.com/grpc/grpc-dotnet.git

Loading…
Cancel
Save