fix(build): download correct cloud-agent for arch#3331
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3331 +/- ##
=======================================
Coverage 58.95% 58.95%
=======================================
Files 35 35
Lines 1703 1703
Branches 374 374
=======================================
Hits 1004 1004
Misses 561 561
Partials 138 138 Continue to review full report at Codecov.
|
| esac | ||
| } | ||
|
|
||
| ARCH="${NPM_CONFIG_ARCH:-$(detect_arch)}" |
There was a problem hiding this comment.
This is a big ol' nit but I'm thinking we should move this inside main to match OS.
There was a problem hiding this comment.
Will look at it for 3.11/3.10.1 - tested this locally for both amd64/arm64, and don't want to shake things up with changes on release day
Fixes the npm postinstall script, which is also used to download cloud-agent, to download based on the system architecture.