From 21082165d6febdc5cd2d0e26072475c4ea0431f8 Mon Sep 17 00:00:00 2001 From: David Barker Date: Wed, 3 Mar 2021 17:24:09 +0800 Subject: [PATCH] Update nuspec to 3.1 version to match aspnetcore3.1 Add pack.ps1 to build the nuget package using dotnet pack --- src/AspNetCore.Identity.MongoDbCore.nuspec | 8 ++++---- src/pack.ps1 | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 src/pack.ps1 diff --git a/src/AspNetCore.Identity.MongoDbCore.nuspec b/src/AspNetCore.Identity.MongoDbCore.nuspec index 7db6350..0539030 100644 --- a/src/AspNetCore.Identity.MongoDbCore.nuspec +++ b/src/AspNetCore.Identity.MongoDbCore.nuspec @@ -2,26 +2,26 @@ AspNetCore.Identity.MongoDbCore - 2.1.1 + 3.1.0 AspNetCore.Identity.MongoDbCore Alexandre Spieser Alexandre Spieser MIT https://github.com/alexandre-spieser/AspNetCore.Identity.MongoDbCore false - A MongoDb UserStore and RoleStore adapter for Microsoft.AspNetCore.Identity 2.2. + A MongoDb UserStore and RoleStore adapter for Microsoft.Extensions.Identity.Core 3.1. Release notes are at https://github.com/alexandre-spieser/AspNetCore.Identity.MongoDbCore/releases Copyright 2020 (c) Alexandre Spieser. All rights reserved. aspnetcore mongo mongodb identity membership - + - + diff --git a/src/pack.ps1 b/src/pack.ps1 new file mode 100644 index 0000000..fb84563 --- /dev/null +++ b/src/pack.ps1 @@ -0,0 +1,6 @@ + +Write-Output "Package AspNetCore.Identity.MongoDbCore" + +Remove-Item -Path "./bin/Release" -Force -Recurse + +& dotnet pack -c Release -p:NuspecFile=AspNetCore.Identity.MongoDbCore.nuspec \ No newline at end of file