mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-16 23:13:07 +01:00
Fixed: Nuget Package Build, Artifacts
This commit is contained in:
parent
9f60954f07
commit
e8ca56d6b0
@ -19,6 +19,6 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<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>
|
</files>
|
||||||
</package>
|
</package>
|
@ -17,6 +17,6 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<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>
|
</files>
|
||||||
</package>
|
</package>
|
@ -18,7 +18,7 @@ function CompileNuspec([string]$dllPath, [string]$nuspecname)
|
|||||||
|
|
||||||
$root = (split-path -parent $MyInvocation.MyCommand.Definition) + '\..'
|
$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
|
$version = [System.Reflection.AssemblyName]::GetAssemblyName($dllPath).Version
|
||||||
|
|
||||||
if ($versionSuffix) {
|
if ($versionSuffix) {
|
||||||
@ -35,7 +35,7 @@ if ([string]::IsNullOrEmpty($sqliteVersion)){
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if ($versionStr.endswith("prerelease") -or $versionStr.startswith($sqliteVersion)) {
|
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 {
|
else {
|
||||||
Write-Host "Skipping SQLite package, build version is not $sqliteVersion" -Foreground yellow
|
Write-Host "Skipping SQLite package, build version is not $sqliteVersion" -Foreground yellow
|
||||||
|
16
appveyor.yml
16
appveyor.yml
@ -36,9 +36,9 @@
|
|||||||
- ps: cp .\.nuget\*.nupkg .
|
- ps: cp .\.nuget\*.nupkg .
|
||||||
|
|
||||||
artifacts:
|
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
|
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
|
name: IF.Lastfm.SQLite.dll
|
||||||
- path: '\*-prerelease.nupkg'
|
- path: '\*-prerelease.nupkg'
|
||||||
|
|
||||||
@ -85,9 +85,9 @@
|
|||||||
- ps: cp .\.nuget\*.nupkg .
|
- ps: cp .\.nuget\*.nupkg .
|
||||||
|
|
||||||
artifacts:
|
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
|
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
|
name: IF.Lastfm.SQLite.dll
|
||||||
- path: '\*-prerelease.nupkg'
|
- path: '\*-prerelease.nupkg'
|
||||||
|
|
||||||
@ -135,9 +135,9 @@
|
|||||||
- ps: cp .\.nuget\*.nupkg .
|
- ps: cp .\.nuget\*.nupkg .
|
||||||
|
|
||||||
artifacts:
|
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
|
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
|
name: IF.Lastfm.SQLite.dll
|
||||||
- path: '\*.nupkg'
|
- path: '\*.nupkg'
|
||||||
|
|
||||||
@ -189,9 +189,9 @@
|
|||||||
- ps: cp .\.nuget\*.nupkg .
|
- ps: cp .\.nuget\*.nupkg .
|
||||||
|
|
||||||
artifacts:
|
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
|
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
|
name: IF.Lastfm.SQLite.dll
|
||||||
- path: '\*.nupkg'
|
- path: '\*.nupkg'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user