1#!/bin/bash 2 3cd $(dirname $(readlink $BASH_SOURCE)) 4 5# Disable some unwanted dotnet options 6export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true 7export DOTNET_CLI_TELEMETRY_OPTOUT=true 8 9# Builds Google.Protobuf NuGet packages 10dotnet restore -s /lib/csharp/ src/Google.Protobuf/Google.Protobuf.csproj 11dotnet pack --no-restore -c Release src/Google.Protobuf.sln -p:ContinuousIntegrationBuild=true 12