File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717 compliance part (audit via Azure Policy) of Azure AutoManage Machine
1818 Configuration uses.
1919
20+ ### Fixed
21+
22+ - ComputerManagementDsc
23+ - AppVeyor build now sets the correct module version to be able to run tests.
24+
2025## [ 9.0.0] - 2023-02-22
2126
2227### Fixed
Original file line number Diff line number Diff line change @@ -41,6 +41,14 @@ build_script:
4141 # Only run for pull requests
4242 if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) { Write-Host -ForegroundColor 'Yellow' -Object 'Not a pull request, skipping.'; return }
4343
44+ # Set module version using GitVersion
45+ dotnet tool install --global GitVersion.Tool
46+ $env:IGNORE_NORMALISATION_GIT_HEAD_MOVE = 1
47+ dotnet-gitversion
48+ $gitVersionObject = dotnet-gitversion | ConvertFrom-Json
49+ $gitVersionObject
50+ $env:ModuleVersion = $gitVersionObject.NuGetVersionV2
51+
4452 # Build the module
4553 ./build.ps1 -ResolveDependency -tasks build
4654
@@ -66,4 +74,4 @@ on_finish:
6674 running the tests by deleting the file on the desktop that was created by "enable-rdp.ps1" when $blockRdp is $true.
6775 #>
6876 #$blockRdp = $true
69- # iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
77+ iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
You can’t perform that action at this time.
0 commit comments