diff --git a/.pipelines/templates/build.yaml b/.pipelines/templates/build.yaml index c00035b4..c3d8c77c 100644 --- a/.pipelines/templates/build.yaml +++ b/.pipelines/templates/build.yaml @@ -15,9 +15,7 @@ steps: inputs: pwsh: true filePath: $(System.DefaultWorkingDirectory)\scripts\build-cli.ps1 - arguments: - -SkipMsix - ${{ parameters.stable && '-Stable' || '' }} + arguments: "-Stable:$${{ parameters.stable }} -SkipMsix" - ${{ if eq(parameters['DoEsrp'], 'true') }}: - task: EsrpCodeSigning@5 displayName: Code Sign ESRP - CLI @@ -62,9 +60,7 @@ steps: inputs: pwsh: true filePath: $(System.DefaultWorkingDirectory)\scripts\package-msix.ps1 - arguments: - -Version ${{ parameters.version }} - ${{ parameters.stable && '-Stable' || '' }} + arguments: "-Stable:$${{ parameters.stable }} -Version ${{ parameters.version }}" - ${{ if eq(parameters['DoEsrp'], 'true') }}: - task: EsrpCodeSigning@5 displayName: Code Sign ESRP - MSIX Packages