diff --git a/CHANGELOG.md b/CHANGELOG.md index ab64d85..93ef816 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## Unreleased +## 4.4.0.0 + +- Fix example publish to PowerShell Gallery by adding `gallery_api` + environment variable to `AppVeyor.yml` - fixes [Issue #91](https://github.com/PowerShell/DfsDsc/issues/91). +- Fix minor style issues in statement case. + ## 4.3.0.0 - Fixes PSSA style violation issues resulting - fixes [Issue #84](https://github.com/PowerShell/DfsDsc/issues/84). diff --git a/DFSDsc.psd1 b/DFSDsc.psd1 index 6f1d48e..f341566 100644 --- a/DFSDsc.psd1 +++ b/DFSDsc.psd1 @@ -1,6 +1,6 @@ @{ # Version number of this module. - moduleVersion = '4.3.0.0' + moduleVersion = '4.4.0.0' # ID used to uniquely identify this module GUID = '3bcb9c66-ea0b-4675-bd46-c390a382c388' @@ -65,12 +65,9 @@ ProjectUri = 'https://github.com/PowerShell/DFSDsc' # ReleaseNotes of this module - ReleaseNotes = '- Fixes PSSA style violation issues resulting - fixes [Issue 84](https://github.com/PowerShell/DfsDsc/issues/84). -- Added "DscResourcesToExport" to manifest to improve information in - PowerShell Gallery - fixes [Issue 86](https://github.com/PowerShell/DfsDsc/issues/86). -- Set FunctionsToExport, CmdletsToExport, VariablesToExport, AliasesToExport - to empty list in manifest to meet best practice. -- Explicitly removed extra hidden files from release package + ReleaseNotes = '- Fix example publish to PowerShell Gallery by adding `gallery_api` + environment variable to `AppVeyor.yml` - fixes [Issue 91](https://github.com/PowerShell/DfsDsc/issues/91). +- Fix minor style issues in statement case. ' } # End of PSData hashtable @@ -82,3 +79,4 @@ + diff --git a/DSCResources/MSFT_DFSNamespaceFolder/MSFT_DFSNamespaceFolder.psm1 b/DSCResources/MSFT_DFSNamespaceFolder/MSFT_DFSNamespaceFolder.psm1 index 81d7149..160d0b3 100644 --- a/DSCResources/MSFT_DFSNamespaceFolder/MSFT_DFSNamespaceFolder.psm1 +++ b/DSCResources/MSFT_DFSNamespaceFolder/MSFT_DFSNamespaceFolder.psm1 @@ -632,7 +632,7 @@ function Test-TargetResource .PARAMETER Path Specifies a path for the root of a DFS namespace. #> -Function Get-Folder +function Get-Folder { param ( @@ -668,7 +668,7 @@ Function Get-Folder .PARAMETER TargetPath Specifies a path for a root target of the DFS namespace. #> -Function Get-FolderTarget +function Get-FolderTarget { param ( diff --git a/DSCResources/MSFT_DFSNamespaceRoot/MSFT_DFSNamespaceRoot.psm1 b/DSCResources/MSFT_DFSNamespaceRoot/MSFT_DFSNamespaceRoot.psm1 index ee0890f..af93916 100644 --- a/DSCResources/MSFT_DFSNamespaceRoot/MSFT_DFSNamespaceRoot.psm1 +++ b/DSCResources/MSFT_DFSNamespaceRoot/MSFT_DFSNamespaceRoot.psm1 @@ -779,7 +779,7 @@ function Test-TargetResource .PARAMETER Path Specifies a path for the root of a DFS namespace. #> -Function Get-Root +function Get-Root { param ( @@ -815,7 +815,7 @@ Function Get-Root .PARAMETER TargetPath Specifies a path for a root target of the DFS namespace. #> -Function Get-RootTarget +function Get-RootTarget { param ( diff --git a/appveyor.yml b/appveyor.yml index c8d6a96..0023793 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,6 +2,9 @@ # environment configuration # #---------------------------------# version: 3.1.{build}.0 +environment: + gallery_api: + secure: 9ekJzfsPCDBkyLrfmov83XbbhZ6E2N3z+B/Io8NbDetbHc6hWS19zsDmy7t0Vvxv install: - git clone https://github.com/PowerShell/DscResource.Tests