Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SunboX/Prism.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Siegel <me@dansiegel.net>2017-05-20 05:06:30 +0300
committerDan Siegel <me@dansiegel.net>2017-05-20 05:40:55 +0300
commit10e7daad721f44eb62a968554a8402e72e3b329e (patch)
tree3889860f7aeac3b6e3dbb2a6194b15fe3091bf9c
parentd22db80b5c71f8e52cafadf16a6feecb2a3a0c53 (diff)
fixing missing artifacts
-rw-r--r--Source/nuspecs/nuget.ps15
-rw-r--r--appveyor.yml9
2 files changed, 10 insertions, 4 deletions
diff --git a/Source/nuspecs/nuget.ps1 b/Source/nuspecs/nuget.ps1
index adec1ce..886385b 100644
--- a/Source/nuspecs/nuget.ps1
+++ b/Source/nuspecs/nuget.ps1
@@ -6,17 +6,22 @@ $releaseNotesUri = 'https://github.com/PrismLibrary/Prism/wiki/Release-Notes-'
$coreFileVersion = '1.0.0'
$nugetFileName = 'nuget.exe'
+
if($solutionPath -like '*PrismLibrary_XF*' -and $configuration -eq 'Release')
{
+ Write-Host "Packing PrismLibrary_XF"
dotnet pack $solutionPath -c $configuration
return
}
if($configuration -eq 'Test' -or $solutionPath -notlike 'PrismLibrary.sln')
{
+ Write-Host "Returning without packing $solutionPath"
return
}
+Write-Host "Packing $solutionPath"
+
function Get-FileVersion
{
[OutputType([string])]
diff --git a/appveyor.yml b/appveyor.yml
index 184800d..53cdd09 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -86,14 +86,15 @@ before_build:
build_script:
- msbuild %solution_name%
+after_build:
+ #- dotnet pack %solution_name%
+ # -ps: Write-Host "Completed build for $env:solution_name"
+ -ps: .\Source\nuspecs\nuget.ps1 -configuration $env:Configuration -solutionPath $env:solution_name
+
test_script:
# UWP tests are not currently not supported by appveyor: https://github.com/appveyor/ci/issues/393
- ps: .\tools\test.ps1 -configuration $env:Configuration -solutionPath $env:solution_name
-after_test:
- #- dotnet pack %solution_name%
- -ps: .\Source\nuspecs\nuget.ps1 -configuration $env:Configuration -solutionPath $env:solution_name
-
artifacts:
- path: '**\Build\*.nupkg'
- path: '**\nuspecs\**\*.nupkg'