Skip to content

Commit 91bfea7

Browse files
committed
Revert "repurpose bcd update for web features update with old version for testing"
This reverts commit ccb1eee.
1 parent d5108e0 commit 91bfea7

File tree

3 files changed

+122
-12
lines changed

3 files changed

+122
-12
lines changed

bcd_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.0
1+
7.1.16

package-lock.json

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

tools/update_bcd_version.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
'''
1010

1111
import urllib.request, json
12-
import os
13-
import subprocess
14-
from pathlib import Path
1512

1613
CDN_URL = "https://unpkg.com/web-features/package.json"
1714
VERSION_FILE = "bcd_version"
@@ -38,14 +35,7 @@ def validateNotMajor(prevVersion, nextVersion):
3835
file.write(version)
3936
file.truncate()
4037

41-
# Run `npm update web-features` at the repository root to refresh package-lock.json
42-
try:
43-
repo_root = Path(__file__).resolve().parent.parent
44-
subprocess.run(["npm", "update", "web-features"], cwd=str(repo_root), check=True)
45-
except Exception as e:
46-
print(f"Warning: failed to run 'npm update web-features': {e}")
47-
exit(1)
48-
38+
# TODO update web features & bcd npm packages
4939
else:
5040
# Exit with a non-zero code so that CI/CD can catch this.
5141
print("Major version change detected, not updating.")

0 commit comments

Comments
 (0)