From e8ca56d6b0b9157bee93636d7b10d9c411102d0d Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 22 Apr 2018 22:23:49 -0400 Subject: [PATCH] Fixed: Nuget Package Build, Artifacts --- .nuget/Inflatable.Lastfm.SQLite.nuspec | 2 +- .nuget/Inflatable.Lastfm.nuspec | 2 +- .nuget/pack.ps1 | 4 ++-- appveyor.yml | 16 ++++++++-------- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.nuget/Inflatable.Lastfm.SQLite.nuspec b/.nuget/Inflatable.Lastfm.SQLite.nuspec index 3e79c78..c159dc0 100644 --- a/.nuget/Inflatable.Lastfm.SQLite.nuspec +++ b/.nuget/Inflatable.Lastfm.SQLite.nuspec @@ -19,6 +19,6 @@ - + \ No newline at end of file diff --git a/.nuget/Inflatable.Lastfm.nuspec b/.nuget/Inflatable.Lastfm.nuspec index 6c33c41..facf711 100644 --- a/.nuget/Inflatable.Lastfm.nuspec +++ b/.nuget/Inflatable.Lastfm.nuspec @@ -17,6 +17,6 @@ - + \ No newline at end of file diff --git a/.nuget/pack.ps1 b/.nuget/pack.ps1 index a4d6c28..7a97000 100644 --- a/.nuget/pack.ps1 +++ b/.nuget/pack.ps1 @@ -18,7 +18,7 @@ function CompileNuspec([string]$dllPath, [string]$nuspecname) $root = (split-path -parent $MyInvocation.MyCommand.Definition) + '\..' -$dllPath = "$root\src\IF.Lastfm.Core\bin\Release\IF.Lastfm.Core.dll" +$dllPath = "$root\src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll" $version = [System.Reflection.AssemblyName]::GetAssemblyName($dllPath).Version if ($versionSuffix) { @@ -35,7 +35,7 @@ if ([string]::IsNullOrEmpty($sqliteVersion)){ } else { if ($versionStr.endswith("prerelease") -or $versionStr.startswith($sqliteVersion)) { - CompileNuspec "$root\src\IF.Lastfm.SQLite\bin\Release\IF.Lastfm.SQLite.dll" "Inflatable.Lastfm.SQLite" + CompileNuspec "$root\src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll" "Inflatable.Lastfm.SQLite" } else { Write-Host "Skipping SQLite package, build version is not $sqliteVersion" -Foreground yellow diff --git a/appveyor.yml b/appveyor.yml index 2bfc9da..3daf13f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -36,9 +36,9 @@ - ps: cp .\.nuget\*.nupkg . artifacts: - - path: src\IF.Lastfm.Core\bin\Release\IF.Lastfm.Core.dll + - path: src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll name: IF.Lastfm.Core.dll - - path: src\IF.Lastfm.SQLite\bin\Release\IF.Lastfm.SQLite.dll + - path: src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll name: IF.Lastfm.SQLite.dll - path: '\*-prerelease.nupkg' @@ -85,9 +85,9 @@ - ps: cp .\.nuget\*.nupkg . artifacts: - - path: src\IF.Lastfm.Core\bin\Release\IF.Lastfm.Core.dll + - path: src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll name: IF.Lastfm.Core.dll - - path: src\IF.Lastfm.SQLite\bin\Release\IF.Lastfm.SQLite.dll + - path: src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll name: IF.Lastfm.SQLite.dll - path: '\*-prerelease.nupkg' @@ -135,9 +135,9 @@ - ps: cp .\.nuget\*.nupkg . artifacts: - - path: src\IF.Lastfm.Core\bin\Release\IF.Lastfm.Core.dll + - path: src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll name: IF.Lastfm.Core.dll - - path: src\IF.Lastfm.SQLite\bin\Release\IF.Lastfm.SQLite.dll + - path: src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll name: IF.Lastfm.SQLite.dll - path: '\*.nupkg' @@ -189,9 +189,9 @@ - ps: cp .\.nuget\*.nupkg . artifacts: - - path: src\IF.Lastfm.Core\bin\Release\IF.Lastfm.Core.dll + - path: src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll name: IF.Lastfm.Core.dll - - path: src\IF.Lastfm.SQLite\bin\Release\IF.Lastfm.SQLite.dll + - path: src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll name: IF.Lastfm.SQLite.dll - path: '\*.nupkg'