Skip to content

Commit 1cf8941

Browse files
committed
Merge branch 'hotfix/0.3.2'
* hotfix/0.3.2: Added condition to use same version
2 parents c543466 + 853b5dc commit 1cf8941

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Wormies-AU-Helpers/public/Get-FixVersion.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ function Get-FixVersion() {
134134
if (!$preRelease -and ([string]$existingVersion).StartsWith($mainVersion)) {
135135
return $existingVersion
136136
}elseif (([string]$existingVersion).StartsWith("${mainVersion}${preRelease}")) {
137+
if ($global:au_Force -ne $true) { return $existingVersion }
137138
}else {
138139
return $Version
139140
}

0 commit comments

Comments
 (0)