From 0b0e5da1d68ba63d3f8d998b2788d02978bf9864 Mon Sep 17 00:00:00 2001 From: JJ Fullmer Date: Wed, 12 Apr 2023 09:32:58 -0600 Subject: [PATCH] fix build versioning --- FogApi/FogApi.psd1 | 6 +++++- build.ps1 | 4 ++-- docs/ReleaseNotes.md | 4 ++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/FogApi/FogApi.psd1 b/FogApi/FogApi.psd1 index bc9b8c6..a02bac7 100644 --- a/FogApi/FogApi.psd1 +++ b/FogApi/FogApi.psd1 @@ -12,7 +12,7 @@ RootModule = 'FogApi.psm1' # Version number of this module. -ModuleVersion = '2302.5.40' +ModuleVersion = '2304.5.41' # Supported PSEditions # CompatiblePSEditions = @() @@ -178,6 +178,10 @@ PrivateData = @{ # ReleaseNotes of this module ReleaseNotes = ' +# 2304.5.41 + + Fix build versioning + # 2302.5.40 Fix Test-path negation test diff --git a/build.ps1 b/build.ps1 index 1bec4f5..b51b340 100644 --- a/build.ps1 +++ b/build.ps1 @@ -260,8 +260,8 @@ $cur = test-ModuleManifest -Path $manifest; [System.Version]$oldVer = (Test-ModuleManifest $manifest).Version $verArgs = New-Object System.Collections.Generic.list[system.object]; -$Major = (get-date -Format "yyMM") -$verArgs.Add($Major) +$MajorStr = (get-date -Format "yyMM") +$verArgs.Add($MajorStr) if ($major) { $verArgs.Add($oldVer.Minor +1) } else { diff --git a/docs/ReleaseNotes.md b/docs/ReleaseNotes.md index cb730e5..549cc69 100644 --- a/docs/ReleaseNotes.md +++ b/docs/ReleaseNotes.md @@ -1,4 +1,8 @@ +# 2304.5.41 + + Fix build versioning + # 2302.5.40 Fix Test-path negation test