diff options
author | Muxi Yan <mxyan@google.com> | 2017-04-11 10:06:33 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2017-04-11 10:06:33 -0700 |
commit | 8ae7f770573f7b172103b90c7a812fb39aee94e1 (patch) | |
tree | e35b9cc98e6c07ec60185b14c02185642c24e182 /src/csharp/build_packages_dotnetcli.sh | |
parent | 48cba2adb45bc3a60b9fc6234757bcd9a84c5697 (diff) | |
parent | e3683cadd3a22d138e97c68af84a1680f80b8a4a (diff) |
Merge remote-tracking branch 'upstream/master' into fix-trailer-only
Diffstat (limited to 'src/csharp/build_packages_dotnetcli.sh')
-rwxr-xr-x | src/csharp/build_packages_dotnetcli.sh | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/csharp/build_packages_dotnetcli.sh b/src/csharp/build_packages_dotnetcli.sh index f51b42bc8c..2186bd3c56 100755 --- a/src/csharp/build_packages_dotnetcli.sh +++ b/src/csharp/build_packages_dotnetcli.sh @@ -58,13 +58,17 @@ cp $EXTERNAL_GIT_ROOT/architecture=x64,language=protoc,platform=linux/artifacts/ cp $EXTERNAL_GIT_ROOT/architecture=x86,language=protoc,platform=macos/artifacts/* protoc_plugins/macosx_x86 || true cp $EXTERNAL_GIT_ROOT/architecture=x64,language=protoc,platform=macos/artifacts/* protoc_plugins/macosx_x64 || true -dotnet restore . +dotnet restore Grpc.sln -dotnet pack --configuration Release Grpc.Core/project.json --output ../../artifacts -dotnet pack --configuration Release Grpc.Core.Testing/project.json --output ../../artifacts -dotnet pack --configuration Release Grpc.Auth/project.json --output ../../artifacts -dotnet pack --configuration Release Grpc.HealthCheck/project.json --output ../../artifacts -dotnet pack --configuration Release Grpc.Reflection/project.json --output ../../artifacts +# To be able to build, we also need to put grpc_csharp_ext to its normal location +mkdir -p ../../libs/opt +cp nativelibs/linux_x64/libgrpc_csharp_ext.so ../../libs/opt + +dotnet pack --configuration Release Grpc.Core --output ../../../artifacts +dotnet pack --configuration Release Grpc.Core.Testing --output ../../../artifacts +dotnet pack --configuration Release Grpc.Auth --output ../../../artifacts +dotnet pack --configuration Release Grpc.HealthCheck --output ../../../artifacts +dotnet pack --configuration Release Grpc.Reflection --output ../../../artifacts nuget pack Grpc.nuspec -Version "1.3.0-dev" -OutputDirectory ../../artifacts nuget pack Grpc.Tools.nuspec -Version "1.3.0-dev" -OutputDirectory ../../artifacts |