File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11
11
"author": "Yousaf Nabi <you@saf.dev>",
12
12
"homepage": "https://github.com/pact-foundation/pact-js-core#readme",
13
13
"os": [
14
- "${node_os }"
14
+ "${node_pkg_os }"
15
15
],
16
16
${libc}
17
17
"cpu": [
Original file line number Diff line number Diff line change @@ -12,13 +12,15 @@ setup_package_vars(){
12
12
unset node_arch
13
13
unset node_libc
14
14
unset libc
15
- echo $supported_platform
16
15
IFS=' -' read -r node_os node_arch node_libc <<< " $supported_platform"
17
16
export node_os=$node_os
17
+ export node_pkg_os=$node_os
18
18
export node_arch=$node_arch
19
19
export node_libc=$node_libc
20
- export prebuild_package=$node_os -$node_arch
20
+ export prebuild_package=" $node_os -$node_arch "
21
+ # we need to overwrite windows as win32 in the package.json
21
22
if [ " $node_os " = " windows" ]; then
23
+ export node_pkg_os=win32
22
24
export prebuild_package=" win32-$node_arch "
23
25
fi
24
26
if [ " $node_libc " = " glibc" ]; then
You can’t perform that action at this time.
0 commit comments