Skip to content

Commit

Permalink
skip suffix for release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Schmaltz committed Oct 17, 2023
1 parent 2f945a4 commit 6fac685
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions updateAssemblyInfo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Write-Host "assemblyInformationalVersion: " $assemblyInformationalVersion
$nugetSuffix = [string]$buildConfiguration.SelectSingleNode("root/nugetSuffix").InnerText
if ( $packageType -eq "release")
{
$versionSuffix = $nugetSuffix
$versionSuffix = ""
}
else
{
Expand Down Expand Up @@ -73,5 +73,3 @@ foreach($project in $buildConfiguration.SelectNodes("root/projects/src/project")
}

WriteSectionFooter("updateAssemblyInfo.ps1")

return "$assemblyVersion-$versionSuffix"

0 comments on commit 6fac685

Please sign in to comment.