From 39f0a9943fc733e7c76f5d9cad157bdb20e6e110 Mon Sep 17 00:00:00 2001 From: Alessandro Giorgetti Date: Fri, 11 Dec 2020 20:38:27 +0100 Subject: [PATCH] updated .nuspec and appveyor.yml --- appveyor.yml | 6 ++++- src/.nuget/NEventStore.Persistence.Sql.nuspec | 23 ++++++++++++------- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5849206..141ba4f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -49,7 +49,11 @@ build: verbosity: minimal after_build: - cmd: >- - REM dotnet pack ./src/NEventStore.Persistence.Sql/NEventStore.Persistence.Sql.Core.csproj -c %CONFIGURATION% --no-build -o artifacts /p:PackageVersion=%GitVersion_NuGetVersion% + REM dotnet pack ./src/NEventStore.Persistence.Sql/NEventStore.Persistence.Sql.Core.csproj -c %CONFIGURATION% --no-build -o artifacts -p:PackageVersion=%GitVersion_NuGetVersion% + + + REM use .nuspec file, projects with submodule generate wrong PackageReferences + nuget pack ./src/.nuget/NEventStore.Persistence.Sql.nuspec -properties "version=%GitVersion_NuGetVersion%;configuration=%CONFIGURATION%" -OutputDirectory artifacts test_script: diff --git a/src/.nuget/NEventStore.Persistence.Sql.nuspec b/src/.nuget/NEventStore.Persistence.Sql.nuspec index 0ddcc12..852c705 100644 --- a/src/.nuget/NEventStore.Persistence.Sql.nuspec +++ b/src/.nuget/NEventStore.Persistence.Sql.nuspec @@ -20,19 +20,26 @@ 6.x.x versions --> - - + + + + + + + + + - - + + + - - - - + + +