Skip to content

Commit 847bbe0

Browse files
authored
Add basic nuget package properties (#102)
add basic nuget package properties
1 parent 8257d6a commit 847bbe0

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

kokoro/build_nuget.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,4 @@ export PATH="$PWD/dotnet:$PATH"
3131

3232
mkdir -p artifacts
3333

34-
# TODO(jtattermusch): set the package version in csproj files.
35-
(cd src/Grpc.AspNetCore.Server && dotnet pack -p:PackageVersion=0.0.1-dev --configuration Release --output ../../artifacts)
34+
(cd src/Grpc.AspNetCore.Server && dotnet pack --configuration Release --output ../../artifacts)

src/Grpc.AspNetCore.Server/Grpc.AspNetCore.Server.csproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3+
<PropertyGroup>
4+
<Authors>The gRPC Authors</Authors>
5+
<Copyright>Copyright 2019 The gRPC Authors</Copyright>
6+
<Description>gRPC support for ASP.NET Core</Description>
7+
<PackageIconUrl>https://github.com/grpc/grpc.github.io/raw/master/img/grpc_square_reverse_4x.png</PackageIconUrl>
8+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
9+
<PackageProjectUrl>https://github.com/grpc/grpc-dotnet</PackageProjectUrl>
10+
<PackageTags>gRPC RPC HTTP/2 aspnetcore</PackageTags>
11+
<VersionPrefix>0.0.1-dev</VersionPrefix>
12+
</PropertyGroup>
13+
314
<PropertyGroup>
415
<TargetFramework>netcoreapp3.0</TargetFramework>
516
<LangVersion>latest</LangVersion>

0 commit comments

Comments
 (0)