From df77e9a3b0c972cf09c665ea2fba20702d2da350 Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Wed, 17 Jul 2024 11:59:41 -0700 Subject: [PATCH] Fix quoting --- eng/pipelines/templates/steps/publish-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/steps/publish-release.yaml b/eng/pipelines/templates/steps/publish-release.yaml index c18f454e8..839d0f5f9 100644 --- a/eng/pipelines/templates/steps/publish-release.yaml +++ b/eng/pipelines/templates/steps/publish-release.yaml @@ -8,7 +8,7 @@ parameters: steps: - pwsh: | $currentVersion = node -p -e "require('./packages/${{ parameters.PackagePath }}/package.json').version" - $releaseNotes = ${{ parameters.ReleaseNotes }} + $releaseNotes = "${{ parameters.ReleaseNotes }}" if ('${{ parameters.PublishDevVersion }}' -eq 'true') { $currentVersion="$currentVersion-$(Build.BuildNumber)" $releaseNotes = "Preview version of ${{ parameters.ReleaseNotes }}"