@@ -179,7 +179,6 @@ extends:
179
179
inputs :
180
180
notifyUsers : $(Build.RequestedForEmail)
181
181
instructions : Please validate the release and then publish it!
182
- timeoutInMinutes : 1440
183
182
- job : vscode
184
183
dependsOn : validation
185
184
displayName : Publish to VS Code Marketplace
@@ -189,24 +188,19 @@ extends:
189
188
inputs :
190
189
- input : pipelineArtifact
191
190
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
192
203
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