Skip to content

Commit b645933

Browse files
authored
Update build-cmdlet.ps1
1 parent 6c94c24 commit b645933

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/build-cmdlet.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ $config = gc "${cmdletName}.psd1" -Raw
4141
$config = $config.Replace("ModuleVersion = '0.1'", "ModuleVersion = '${Env:GITVERSION_MajorMinorPatch}'");
4242

4343
if(-not [string]::IsNullOrWhiteSpace($Env:GITVERSION_NuGetPreReleaseTag)) {
44-
$config = $config.Replace("# Prerelease = ''", "Prerelease = '-${Env:GITVERSION_NuGetPreReleaseTag}'");
44+
$config = $config.Replace("# Prerelease = ''", "Prerelease = '${Env:GITVERSION_NuGetPreReleaseTag}'");
4545
}
4646

4747
$config | sc "${cmdletName}.psd1"
4848

49-
Pop-Location
49+
Pop-Location

0 commit comments

Comments
 (0)