Merge pull request #10241 from deannagarcia/csharpBuild
Add bazel rule to build C# release artifactspull/10249/head
commit
6556fb3aba
4 changed files with 26 additions and 0 deletions
@ -0,0 +1,17 @@ |
||||
#!/bin/bash |
||||
|
||||
cd $(dirname $(readlink $BASH_SOURCE)) |
||||
|
||||
# Disable some unwanted dotnet options |
||||
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true |
||||
set DOTNET_CLI_TELEMETRY_OPTOUT=true |
||||
|
||||
# Work around https://github.com/dotnet/core/issues/5881 |
||||
dotnet nuget locals all --clear |
||||
|
||||
# Builds Google.Protobuf NuGet packages |
||||
dotnet restore src/Google.Protobuf.sln |
||||
dotnet pack -c Release src/Google.Protobuf.sln -p:ContinuousIntegrationBuild=true |
||||
|
||||
# This requires built protoc executables as specified in the nusepc |
||||
nuget pack Google.Protobuf.Tools.nuspec |
Loading…
Reference in new issue