Skip to content

Commit 4ff432c

Browse files
authored
chore: decouple API package version from extension version (#1670)
The `version-match` CI job blocked release PRs (e.g. #1668) whenever the extension and API package versions diverged. These versions should be independent — the API package is separately published and versioned. ## Changes - **`api/package.json`** — Reset version `1.37.0` → `1.0.0` - **`api/package-lock.json`** — Reset both root-level and `packages[""]` version fields to match - **`.github/workflows/pr-file-check.yml`** — Remove the `version-match` job entirely; the check requiring `api/package.json` to be bumped on public API changes (`src/api.ts`) is preserved --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 01e16dd commit 4ff432c

3 files changed

Lines changed: 3 additions & 20 deletions

File tree

.github/workflows/pr-file-check.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,3 @@ jobs:
5757
file-pattern: 'api/CHANGELOG.md'
5858
skip-label: 'skip api changelog'
5959
failure-message: 'The public API (${prereq-pattern}) was changed without a changelog entry in ${file-pattern} (the ${skip-label} label can be used to pass this check)'
60-
61-
version-match:
62-
name: 'Extension and API package versions match'
63-
runs-on: ubuntu-latest
64-
permissions:
65-
contents: read
66-
steps:
67-
- name: Checkout
68-
uses: actions/checkout@v4
69-
70-
- name: Set up Python
71-
uses: actions/setup-python@v5
72-
with:
73-
python-version: '3.x'
74-
75-
- name: 'Compare package.json versions'
76-
run: python scripts/compare_package_versions.py

api/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@vscode/python-environments",
33
"description": "An API facade for the Python Environments extension in VS Code",
4-
"version": "1.37.0",
4+
"version": "1.0.0",
55
"author": {
66
"name": "Microsoft Corporation"
77
},

0 commit comments

Comments
 (0)