Skip to content

Commit 55f98e1

Browse files
committed
WIP: Disable publish steps so we can test it
Without actually pushing!
1 parent d1ee082 commit 55f98e1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.vsts-ci/templates/publish-github.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ steps:
88
- pwsh: |
99
$PackageJson = Get-Content -Raw $(Build.SourcesDirectory)/package.json | ConvertFrom-Json
1010
$(Build.SourcesDirectory)/tools/setupReleaseTools.ps1 -Token $(GitHubToken)
11-
New-DraftRelease -RepositoryName vscode-powershell -Assets $(Pipeline.Workspace)/vscode-powershell/powershell-$($PackageJson.version).vsix,$(Pipeline.Workspace)/vscode-powershell/Install-VSCode.ps1
11+
# New-DraftRelease -RepositoryName vscode-powershell -Assets $(Pipeline.Workspace)/vscode-powershell/powershell-$($PackageJson.version).vsix,$(Pipeline.Workspace)/vscode-powershell/Install-VSCode.ps1
12+
echo $PackageJson.version
1213
displayName: Drafting a GitHub Release

.vsts-ci/templates/publish-markets.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ steps:
1717
'--pat'
1818
'$(VsceToken)'
1919
)
20-
npm run publish -- @PublishArgs
20+
# npm run publish -- @PublishArgs
21+
echo @PublishArgs
2122
displayName: Publishing VSIX to VS Code Marketplace
2223

2324
# NOTE: We rarely update this script, so we can ignore errors from the gallery
2425
# caused by us trying to re-publish an updated script.
2526
- pwsh: |
26-
Publish-Script -Path $(Pipeline.Workspace)/vscode-powershell/Install-VSCode.ps1 -NuGetApiKey $(GalleryToken)
27+
# Publish-Script -Path $(Pipeline.Workspace)/vscode-powershell/Install-VSCode.ps1 -NuGetApiKey $(GalleryToken)
28+
echo skip
2729
displayName: Publishing Install-VSCode.ps1 to PowerShell Gallery
2830
continueOnError: true

0 commit comments

Comments
 (0)