diff --git a/CHANGELOG.md b/CHANGELOG.md index 82828b7..f4f8088 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `Get-PSModulePath` - Throws an exception if the My Documents folder cannot be found when calling the command with the scope `CurrentUser` ([issue #122](https://github.com/dsccommunity/DscResource.Common/issues/122)). +- Update build process to pin GitVersion to 5.* to resolve errors + (https://github.com/gaelcolas/Sampler/issues/477). ## [0.17.1] - 2024-04-23 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3fe5a61..cfe4b84 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -26,7 +26,7 @@ stages: vmImage: 'ubuntu-latest' steps: - pwsh: | - dotnet tool install --global GitVersion.Tool + dotnet tool install --global GitVersion.Tool --version 5.* $gitVersionObject = dotnet-gitversion | ConvertFrom-Json $gitVersionObject.PSObject.Properties.ForEach{ Write-Host -Object "Setting Task Variable '$($_.Name)' with value '$($_.Value)'." diff --git a/source/en-US/DscResource.Common.strings.psd1 b/source/en-US/DscResource.Common.strings.psd1 index 141951b..e83e3d3 100644 --- a/source/en-US/DscResource.Common.strings.psd1 +++ b/source/en-US/DscResource.Common.strings.psd1 @@ -7,8 +7,8 @@ ConvertFrom-StringData @' AddressFormatError = Address '{0}' is not in the correct format. Please correct the Address parameter in the configuration and try again. (DRC0011) AddressIPv4MismatchError = Address '{0}' is in IPv4 format, which does not match server address family {1}. Please correct either of them in the configuration and try again. (DRC0012) AddressIPv6MismatchError = Address '{0}' is in IPv6 format, which does not match server address family {1}. Please correct either of them in the configuration and try again. (DRC0013) - InvalidDesiredValuesError = Property 'DesiredValues' in Test-DscParameterState must be either a Hashtable, CimInstance, CimIntance[], or System.Collections.Specialized.OrderedDictionary. Type detected was '{0}'. (DRC0014) - InvalidCurrentValuesError = Property 'CurrentValues' in Test-DscParameterState must be either a Hashtable, CimInstance, CimIntance[], or System.Collections.Specialized.OrderedDictionary. Type detected was '{0}'. (DRC0015) + InvalidDesiredValuesError = Property 'DesiredValues' in Test-DscParameterState must be either a Hashtable, CimInstance, CimInstance[], or System.Collections.Specialized.OrderedDictionary. Type detected was '{0}'. (DRC0014) + InvalidCurrentValuesError = Property 'CurrentValues' in Test-DscParameterState must be either a Hashtable, CimInstance, CimInstance[], or System.Collections.Specialized.OrderedDictionary. Type detected was '{0}'. (DRC0015) InvalidPropertiesError = If 'DesiredValues' is a CimInstance then property 'Properties' must contain a value. (DRC0016) MatchPsCredentialUsernameMessage = MATCH: PSCredential username match. Current state is '{0}' and desired state is '{1}'. (DRC0017) NoMatchPsCredentialUsernameMessage = NOTMATCH: PSCredential username mismatch. Current state is '{0}' and desired state is '{1}'. (DRC0018) diff --git a/source/en-US/about_DscResource.Common.help.txt b/source/en-US/about_DscResource.Common.help.txt index 2a99677..4493b3a 100644 --- a/source/en-US/about_DscResource.Common.help.txt +++ b/source/en-US/about_DscResource.Common.help.txt @@ -2,7 +2,7 @@ TOPIC about_DscResource.Common SHORT DESCRIPTION - Common functions used in DSC tesources. + Common functions used in DSC resources. LONG DESCRIPTION This module contains common functions that are used in DSC resources. @@ -15,7 +15,7 @@ NOTE: writing code, sharing opinions, and provided feedback. TROUBLESHOOTING NOTE: - Go to the Github repository for read about issues, submit a new issue, and read + Go to the Github repository to read about issues, submit a new issue, and read about new releases. https://github.com/dsccommunity/DscResource.Common SEE ALSO