Update nuspec package for CI/CD
Added package.ps1 file for building, testing and packaging the library
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
$project="./src/AspNetCore.Identity.MongoDbCore.csproj"
|
||||
$testProject="./test/AspNetCore.Identity.MongoDbCore.IntegrationTests/AspNetCore.Identity.MongoDbCore.IntegrationTests.csproj"
|
||||
$configuration="Release"
|
||||
$nuspecFile="AspnetCore.Identity.MongoDbCore.nuspec"
|
||||
$output="./nuget"
|
||||
|
||||
dotnet build
|
||||
dotnet test $testProject
|
||||
dotnet pack --no-restore --no-build $project --configuration $configuration -p:NuspecFile=$nuspecFile -o $output
|
||||
Reference in New Issue
Block a user