summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml9
-rw-r--r--scripts/Sign-Package.ps12
2 files changed, 5 insertions, 6 deletions
diff --git a/appveyor.yml b/appveyor.yml

index a8ec8a985..b7b7df4a8 100644 --- a/appveyor.yml +++ b/appveyor.yml
@@ -9,11 +9,8 @@ environment: secure: S26+NphAhj/vo5ZdHd/N/4toty3ztdNGmuNdvAB57W1oIVQEHVKqAVuhTD8B9ATy install: - - cmd: nuget install SignClient -Version 0.5.0-beta4 -SolutionDir %APPVEYOR_BUILD_FOLDER% -Verbosity quiet -ExcludeVersion -pre + - cmd: nuget install SignClient -Version 0.7.0 -SolutionDir %APPVEYOR_BUILD_FOLDER% -Verbosity quiet -ExcludeVersion -pre -assembly_info: - patch: false - build_script: - cmd: msbuild /t:restore BouncyCastle.sln - cmd: msbuild /t:build BouncyCastle.sln @@ -21,4 +18,6 @@ build_script: after_build: - ps: '.\scripts\Sign-Package.ps1' - - ps: 'cmd /c "appveyor PushArtifact *.nupkg";if($lastexitcode -ne 0){$lastexitcode = 0}' \ No newline at end of file + +artifacts: + - path: '*.nupkg' \ No newline at end of file diff --git a/scripts/Sign-Package.ps1 b/scripts/Sign-Package.ps1
index 0491883af..8d1df5547 100644 --- a/scripts/Sign-Package.ps1 +++ b/scripts/Sign-Package.ps1
@@ -17,7 +17,7 @@ $nupgks = ls $currentDirectory\..\*.nupkg | Select -ExpandProperty FullName foreach ($nupkg in $nupgks){ Write-Host "Submitting $nupkg for signing" - dotnet $appPath 'zip' -c $appSettings -i $nupkg -s $env:SignClientSecret -n 'Portable.BouncyCastle' -d 'Portable.BouncyCastle' -u 'https://github.com/onovotny/bc-sharp' + dotnet $appPath 'sign' -c $appSettings -i $nupkg -s $env:SignClientSecret -n 'Portable.BouncyCastle' -d 'Portable.BouncyCastle' -u 'https://github.com/onovotny/bc-sharp' Write-Host "Finished signing $nupkg" }