Skip to content

Commit 031e76b

Browse files
committed
Fix marketplace publishing step
This custom task can't use an org-scoped feed, so I had to make a project-scoped one just for it. Which is only necessary because the package still isn't cached.
1 parent bcbaae1 commit 031e76b

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.pipelines/vscode-powershell-OneBranch.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ extends:
5454
EnableCDPxPAT: false
5555
WindowsHostVersion:
5656
Version: 2022
57-
Network: KS3
5857
release:
5958
category: NonAzure
6059
stages:
@@ -180,7 +179,7 @@ extends:
180179
feed:
181180
organization: msazure
182181
project: One
183-
feedName: npmjs
182+
feedName: vsce
184183
steps:
185184
- pwsh: |
186185
Write-Host Publishing: $(vsixVersion), pre-release: $(prerelease)

vscode-powershell.build.ps1

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ task Build RestoreEditorServices, RestoreNode, {
7171
Write-Build DarkGreen "Building vscode-powershell"
7272
Assert-Build (Test-Path ./modules/PowerShellEditorServices/bin) "Extension requires PSES"
7373

74-
# TODO: When supported we should use `esbuild` for the tests too. Although
75-
# we now use `esbuild` to transpile, bundle, and minify the extension, we
76-
# still use `tsc` to transpile everything in `src` and `test` because the VS
77-
# Code test runner expects individual files (and globs them at runtime).
78-
# Unfortunately `esbuild` doesn't support emitting 1:1 files (yet).
79-
# https://github.com/evanw/esbuild/issues/944
8074
switch ($Configuration) {
8175
"Debug" { Invoke-BuildExec { & npm run compile } }
8276
"Release" { Invoke-BuildExec { & npm run compile -- --minify } }

0 commit comments

Comments
 (0)