Skip to content

Commit

Permalink
Update updateAssemblyInfo.ps1 (#2369)
Browse files Browse the repository at this point in the history
* Update updateAssemblyInfo.ps1

* make release little r
  • Loading branch information
jennyf19 committed Oct 17, 2023
1 parent 68d8446 commit bb354ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/releaseBuild.yml
Expand Up @@ -16,7 +16,7 @@ variables:
- name: BuildPlatform
value: 'any cpu'
- name: BuildConfiguration
value: 'Release'
value: 'release'

jobs:
- job: build
Expand Down
4 changes: 1 addition & 3 deletions updateAssemblyInfo.ps1
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 bb354ce

Please sign in to comment.