File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 9797 run : |
9898 Write-Host "Building SqlServerDsc module..." -ForegroundColor Green
9999
100+ # Hard-code versin due to how Coilot is switching branch (?) so gitversion fails.
101+ $ModuleVersion = '0.0.1'
102+ $env:ModuleVersion = '0.0.1'
103+ [System.Environment]::SetEnvironmentVariable('ModuleVersion','0.0.1', 'Machine')
104+
100105 # Build the module
101106 .\build.ps1 -Tasks 'build' -ErrorAction Stop
102107
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
1010- Added setup workflow for GitHub Copilot.
1111 - Switch the workflow to use Linux.
12- - Skip verify gitversion after install due to problem with how Copilot switches branch directly after checkout, before setup is finsihed.
12+ - Skip verify GitVersion after install due to problem with how Copilot switches branch directly after checkout, before setup is finsihed.
13+ - Hardcode module version to 0.0.1 for the build step due to the problem with GitVersion.
1314
1415### Changed
1516
You can’t perform that action at this time.
0 commit comments