Skip to content

Commit

Permalink
Fix quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
weshaggard committed Jul 17, 2024
1 parent 9944a10 commit 9fbe470
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eng/pipelines/templates/steps/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ steps:
- pwsh: |
$currentVersion = node -p -e "require('./packages/${{ parameters.PackagePath }}/package.json').version"
$releaseNotes = ${{ parameters.ReleaseNotes }}
if (${{ parameters.PublishDevVersion }} -eq 'true') {
if ('${{ parameters.PublishDevVersion }}' -eq 'true') {
$currentVersion="$currentVersion-$(Build.BuildNumber)"
$releaseNotes = "Preview version of ${{ parameters.ReleaseNotes }}"
}
Expand All @@ -24,9 +24,9 @@ steps:
--token $(azuresdk-github-pat) `
--repo autorest.go `
--owner azure `
--name "${{ parameters.ReleaseName }}" `
--name '${{ parameters.ReleaseName }}' `
--tag v$currentVersion `
--notes=$releaseNotes `
--notes='$releaseNotes' `
--prerelease `
--editRelease false `
--assets ${{ parameters.PackageName }}-$currentVersion.tgz `
Expand Down

0 comments on commit 9fbe470

Please sign in to comment.