Merge pull request #112 from Qstick/package-fix

Fixed: Nuget Package Build, Artifacts
This commit is contained in:
Rikki Tooley 2018-04-27 11:17:23 +01:00 committed by GitHub
commit 42776a3f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 12 deletions

View File

@ -19,6 +19,6 @@
</dependencies>
</metadata>
<files>
<file src="..\src\IF.Lastfm.SQLite\bin\Release\IF.Lastfm.SQLite.dll" target="lib\portable-win8+net45+wp8+wpa81"/>
<file src="..\src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll" target="lib\portable-win8+net45+wp8+wpa81"/>
</files>
</package>

View File

@ -17,6 +17,6 @@
</dependencies>
</metadata>
<files>
<file src="..\src\IF.Lastfm.Core\bin\Release\IF.Lastfm.Core.dll" target="lib\netstandard1.1"/>
<file src="..\src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll" target="lib\netstandard1.1"/>
</files>
</package>

Binary file not shown.

View File

@ -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

View File

@ -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'