fix C# single-job distribtests jobs when version has no suffix (#28924)

pull/29010/head
Jan Tattermusch 3 years ago committed by GitHub
parent 564f7d6c53
commit f574f70c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/csharp/build_nuget.sh

@ -51,7 +51,7 @@ then
# add a suffix to the nuget's version
# to avoid confusing the package with a full nuget package.
# NOTE: adding the suffix must be done AFTER expand_dev_version.sh has run.
sed -ibak "s/<\/GrpcCsharpVersion>/.singleplatform<\/GrpcCsharpVersion>/" build/dependencies.props
sed -ibak "s/<\/GrpcCsharpVersion>/-singleplatform<\/GrpcCsharpVersion>/" build/dependencies.props
fi
dotnet restore Grpc.sln

Loading…
Cancel
Save