You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Add Multi-Platform Build and Signing Support for VS Code Python Debugger Extension** (#927)
* add custom feeds
* add back loc and telemetry files
* try disable pipauth
* Switched the install_bundled_libs nox session to fetch debugpy via pip download + wheel extraction, instead of urllib.request.urlopen() against the pinned URLs in debugpy_info.json. This makes the download respect your pip configuration (proxy, internal index/mirror, certs) and avoids hard-coded files.pythonhosted.org URLs.
Added _infer_debugpy_version() so the build can still determine which debugpy==... to download:
uses DEBUGPY_VERSION if set, otherwise parses the version out of debugpy_info.json (so you don’t have to change version management right now).
Added download_debugpy_via_pip() which downloads the appropriate wheels for the target:
If VSCETARGET is win32-x64, linux-x64, or darwin*, it downloads cp310/cp311/cp312 wheels for that platform (same intent as the old JSON approach).
If VSCETARGET is missing/unknown, it downloads the universal none-any wheel via a valid pip “target tag” (--python-version 39 --implementation cp --abi none --platform any).
Verified locally: python -m nox --session install_bundled_libs now succeeds (after fixing the fallback pip arguments).
* updat vsce
* modify how we download debugpy from pip
* use pip by default
* first attempt at platforms
* fix path to setup.yml
* update pools
* update pool windows
* mac pool rename
* update windows image
* add build vsix
* copy vsix to drop folder
* update creating vsix name
* copy vsix
* update drop folder
* try to sign per platform
* npm install for sign
* check manifest
* simplify manifest
* upate stable with multiplatform sign
* multiplatform publish
* Refactor publish pipeline with multi-platform support and manual validation
- Add publish-extension.yml template with Sign, WaitForValidation, and Publish jobs
- Add createGitHubRelease.yml template for GitHub release creation
- Update publish.yml to iterate over buildPlatforms and publish each platform
- Rename artifact folder from 'drop' to 'extension'
- Rename pipeline stage from 'Sign' to 'Publish'
- Add manual validation gate before marketplace publishing (default enabled)
- Download platform-specific artifacts (vsix-universal, vsix-linux-arm64, etc.)
- Extract version from VSIX filename for GitHub release tagging
* try to fix download
* create github release
* rename GitHubRelease
* read publisher and version from package.json
* disable stabel release on tag
* try to get version and publisher from extracted vsix data
* dont publish to github if not publishing
* update extracting files and folders. Using "Multi-Replace String in Files"
```
```
Done. Updated folder usage is now:
| Folder | Purpose |
|--------|---------|
| `$(Build.BinariesDirectory)/vsix-*` | Downloaded VSIX inputs |
| `$(Agent.TempDirectory)/vsix-extracted` | Temporary extraction for reading version |
| `$(Build.StagingDirectory)\extension` | Signing working directory & output artifact |
| `$(Build.ArtifactStagingDirectory)` | Reserved for final artifact staging (Publish job) |
Made changes.
* Updates extension version in package.json using the Azure DevOps build number.
* make sure we get version from package.json
* fix job name
* add 'releaseJob'
* move github release to release job with no outputs.
* remove old releaseJob tag
* use 1ES.DownloadPipelineArtifact@1
* use DownloadPipelineArtifact in non release jobs
* fix extract path
* use general pool for publish
* fix spacing
* trun on publish to marketplace
* fix linting and lint check quotes
* fix import re
* add back vsce-package
* fix missing vsce-package
* re-format
* move loc files and temeletry to separate pre-built folder so we dont break old pipeline
* publish job needs npm feed
* add missing .npmrc file using checkout
* add .npmrc file if one doesn't exist
* uncomment vsce publish
* Update build/templates/package.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* disable publish once more
* fix pretteier
* re-enable vsce publish
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
name: VSEngSS-MicroBuild2022-1ES # use windows for codesigning to make things easier https://dev.azure.com/devdiv/DevDiv/_wiki/wikis/DevDiv.wiki/650/MicroBuild-Signing
name: VSEngSS-MicroBuild2022-1ES # use windows for codesigning to make things easier https://dev.azure.com/devdiv/DevDiv/_wiki/wikis/DevDiv.wiki/650/MicroBuild-Signing
0 commit comments