Skip to content

Commit

Permalink
fix build versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
darksidemilk committed Apr 12, 2023
1 parent abf0609 commit 0b0e5da
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion FogApi/FogApi.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'FogApi.psm1'

# Version number of this module.
ModuleVersion = '2302.5.40'
ModuleVersion = '2304.5.41'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -178,6 +178,10 @@ PrivateData = @{

# ReleaseNotes of this module
ReleaseNotes = '
# 2304.5.41
Fix build versioning
# 2302.5.40
Fix Test-path negation test
Expand Down
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 4 additions & 0 deletions docs/ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

# 2304.5.41

Fix build versioning

# 2302.5.40

Fix Test-path negation test
Expand Down

0 comments on commit 0b0e5da

Please sign in to comment.