Skip to content

Commit 5221baf

Browse files
committed
Fix again bb release
1 parent 37d39d7 commit 5221baf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -870,9 +870,9 @@ def package_nodejs(c: Context, architecture=None):
870870
_os_platform = _os_platform.replace(
871871
"universal2", platform.machine().lower().lower()
872872
)
873-
if _os_platform == "linux-x86_64":
873+
if sysconfig.get_platform().lower() == "linux-x86_64":
874874
_os_platform = f"manylinux_2_17_{architecture}"
875-
elif _os_platform == "linux-aarch64":
875+
elif sysconfig.get_platform().lower() == "linux-aarch64":
876876
_os_platform = "manylinux_2_17_aarch64.manylinux2014_aarch64"
877877
dist_dir = BROWSER_BATTERIES_DIR.joinpath("dist")
878878
wheel_pkg = dist_dir.glob("*.whl")

0 commit comments

Comments
 (0)