From d28d63a0060ae0097b7a77d5abdbc63f9a171ade Mon Sep 17 00:00:00 2001 From: Daniel Scott-Raynsford Date: Sat, 30 Mar 2019 08:27:10 +1300 Subject: [PATCH] #187 Fix example publish to PS Gallery --- CHANGELOG.md | 4 +++- appveyor.yml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3a29cee..e58ce63d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- Fix example publish to PowerShell Gallery by adding `gallery_api` + environment variable to `AppVeyor.yml` - fixes [Issue #187](https://github.com/PowerShell/CertificateDsc/issues/187). - CertificateDsc.Common.psm1 - Exclude assemblies that set DefinedTypes to null instead of an empty array to prevent failures on GetTypes(). This issue occurred with the @@ -11,7 +13,7 @@ - Minor style corrections from PR for [Issue #161](https://github.com/PowerShell/CertificateDsc/issues/161) -that were missed. + that were missed. - Opt-in to Example publishing to PowerShell Gallery - fixes [Issue #177](https://github.com/PowerShell/CertificateDsc/issues/177). - Changed Test-CertificateAuthority to return the template name if it finds the diff --git a/appveyor.yml b/appveyor.yml index 74e583f2..cdcaa60c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,6 +2,9 @@ # environment configuration # #---------------------------------# version: 2.3.{build}.0 +environment: + gallery_api: + secure: 9ekJzfsPCDBkyLrfmov83XbbhZ6E2N3z+B/Io8NbDetbHc6hWS19zsDmy7t0Vvxv install: - git clone https://github.com/PowerShell/DscResource.Tests