Skip to content

Commit

Permalink
add quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsmits committed Nov 21, 2023
1 parent 75db49c commit 7ea9a2c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build/templates/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ parameters:
steps:
- powershell: |
[string] $versionSuffix = '${{ parameters.versionSuffix }}'
[string] $addBuildNumber = ${{ parameters.useVersionSuffix }}
[string] $addBuildNumber = '${{ parameters.useVersionSuffix }}'
Write-Host "Add Build Number: $addBuildNumber"
if ([string]::IsNullOrEmpty($versionSuffix) -and $addBuildNumber -eq 'true')
{
$versionSuffix = $env:BUILD_BUILDNUMBER
}
Write-Host "Version Suffix: $versionSuffix"
Write-Host "##vso[task.setvariable variable=VersionSuffix]$versionSuffix"
displayName: 'Retrieve version suffix for packaging'
displayName: 'Retrieve version suffix for publishing'
- powershell: |
Write-Host "Determining if version suffix should be used"
Expand Down

0 comments on commit 7ea9a2c

Please sign in to comment.