Deanna Garcia | 4bcc41a | 2022-07-11 17:08:30 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | cd $(dirname $(readlink $BASH_SOURCE)) |
| 4 | |
Deanna Garcia | 30fea66 | 2022-07-12 16:07:02 +0000 | [diff] [blame] | 5 | # Disable some unwanted dotnet options |
Deanna Garcia | 4bcc41a | 2022-07-11 17:08:30 +0000 | [diff] [blame] | 6 | set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true |
| 7 | set DOTNET_CLI_TELEMETRY_OPTOUT=true |
| 8 | |
Deanna Garcia | 30fea66 | 2022-07-12 16:07:02 +0000 | [diff] [blame] | 9 | # Builds Google.Protobuf NuGet packages |
deannagarcia | 7d1f2a7 | 2022-10-19 15:58:58 -0700 | [diff] [blame] | 10 | dotnet restore -s /lib/csharp/ src/Google.Protobuf/Google.Protobuf.csproj |
Deanna Garcia | fb56068 | 2022-10-17 16:50:28 -0700 | [diff] [blame] | 11 | dotnet pack --no-restore -c Release src/Google.Protobuf.sln -p:ContinuousIntegrationBuild=true |