Build SQLite package for prerelease versions

This commit is contained in:
Rikki Tooley 2015-10-11 22:00:34 +01:00
parent b1679517c2
commit 288f2e4f95

View File

@ -34,7 +34,7 @@ if ([string]::IsNullOrEmpty($sqliteVersion)){
Write-Host "Couldn't read version to use for SQLite package" -Foreground red
}
else {
if ($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"
}
else {