@@ -137,7 +137,7 @@ extends:
137137 dependsOn : build
138138 condition : eq(variables['Build.Reason'], 'Manual')
139139 variables :
140- ob_release_environment : PPE
140+ ob_release_environment : Production
141141 version : $[ stageDependencies.build.main.outputs['package.version'] ]
142142 vsixVersion : $[ stageDependencies.build.main.outputs['package.vsixVersion'] ]
143143 prerelease : $[ stageDependencies.build.main.outputs['package.prerelease'] ]
@@ -179,7 +179,6 @@ extends:
179179 inputs :
180180 notifyUsers : $(Build.RequestedForEmail)
181181 instructions : Please validate the release and then publish it!
182- timeoutInMinutes : 1440
183182 - job : vscode
184183 dependsOn : validation
185184 displayName : Publish to VS Code Marketplace
@@ -189,24 +188,19 @@ extends:
189188 inputs :
190189 - input : pipelineArtifact
191190 artifactName : drop_build_main
191+ workflow : vsce
192+ vsce :
193+ serviceConnection : vscode-marketplace
194+ vsixPath : " $(Pipeline.Workspace)/powershell-$(vsixVersion).vsix"
195+ signaturePath : " $(Pipeline.Workspace)/powershell-$(vsixVersion).signature.p7s"
196+ manifestPath : " $(Pipeline.Workspace)/powershell-$(vsixVersion).manifest"
197+ preRelease : $(prerelease)
198+ useCustomVSCE : true
199+ feed :
200+ organization : mscodehub
201+ project : PowerShellCore
202+ feedName : PowerShellCore_PublicPackages
192203 steps :
193- - pwsh : npm ci
194- displayName : Install NPM packages (for vsce)
195- - task : AzureCLI@2
196- displayName : Run vsce publish
197- inputs :
198- azureSubscription : vscode-marketplace
199- scriptType : pscore
200- scriptLocation : inlineScript
201- inlineScript : |
202- $publishArgs = @(
203- '--azure-credential'
204- '--packagePath'
205- '$(Pipeline.Workspace)/powershell-$(vsixVersion).vsix'
206- '--manifestPath'
207- '$(Pipeline.Workspace)/powershell-$(vsixVersion).manifest'
208- '--signaturePath'
209- '$(Pipeline.Workspace)/powershell-$(vsixVersion).signature.p7s'
210- if ([bool]::Parse('$(prerelease)')) { '--pre-release' }
211- )
212- npm run publish -- @publishArgs
204+ - pwsh : |
205+ Write-Host Publishing: $(vsixVersion), pre-release: $(prerelease)
206+ displayName: No-op step to satisfy pipeline requirements
0 commit comments