Skip to content

Commit 6fac685

Browse files
author
Brent Schmaltz
committed
skip suffix for release builds
1 parent 2f945a4 commit 6fac685

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

updateAssemblyInfo.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Write-Host "assemblyInformationalVersion: " $assemblyInformationalVersion
4343
$nugetSuffix = [string]$buildConfiguration.SelectSingleNode("root/nugetSuffix").InnerText
4444
if ( $packageType -eq "release")
4545
{
46-
$versionSuffix = $nugetSuffix
46+
$versionSuffix = ""
4747
}
4848
else
4949
{
@@ -73,5 +73,3 @@ foreach($project in $buildConfiguration.SelectNodes("root/projects/src/project")
7373
}
7474

7575
WriteSectionFooter("updateAssemblyInfo.ps1")
76-
77-
return "$assemblyVersion-$versionSuffix"

0 commit comments

Comments
 (0)