diff --git a/.github/workflows/powershell-module-ci.yml b/.github/workflows/powershell-module-ci.yml index ec1382055..c1f98e9e3 100644 --- a/.github/workflows/powershell-module-ci.yml +++ b/.github/workflows/powershell-module-ci.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 env: - source: CodeArtifact + Source: "CodeArtifact" steps: - uses: actions/checkout@v4 with: diff --git a/PowerShell/Deploy/BuildNuspecFromPsd1.ps1 b/PowerShell/Deploy/BuildNuspecFromPsd1.ps1 index 09e39ab12..73f873eec 100644 --- a/PowerShell/Deploy/BuildNuspecFromPsd1.ps1 +++ b/PowerShell/Deploy/BuildNuspecFromPsd1.ps1 @@ -95,6 +95,9 @@ function New-NuspecFile { # $BuildString = "build$($env:GITHUB_RUN_NUMBER)datetime$($date)" $build = $($env:GITHUB_RUN_NUMBER) $Version = $Version + ".$($build)" + "-$date" + Write-Host "Building Module Version: $Version" + } else { + Write-Host "Building Module Version: $Version" } $metaDataElementsHash = [ordered]@{