Skip to content

Commit

Permalink
Merge branch 'feature/sc-126222/update-the-particle-cli-executable-in…
Browse files Browse the repository at this point in the history
…-workbench' of github.com:particle-iot/particle-cli into feature/sc-126222/update-the-particle-cli-executable-in-workbench
  • Loading branch information
hugomontero committed May 3, 2024
2 parents 870a191 + 831270c commit 1665b99
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches: [ "master", "feature/cli-installer-v2" ] # should change once we have a stable branch
pull_request:
branches: [ "master", "feature/cli-installer-v2" ]

jobs:
call-tests:
uses: ./.github/workflows/tests.yml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ env:
E2E_PRODUCT_01_ID: ${{ secrets.E2E_PRODUCT_01_ID }}
E2E_PRODUCT_01_NAME: ${{ secrets.E2E_PRODUCT_01_NAME }}
E2E_USERNAME: ${{ secrets.E2E_USERNAME }}

jobs:
unit-test:
runs-on: ${{ matrix.os }}
Expand Down
8 changes: 7 additions & 1 deletion installer/unix/install-cli
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ esac
PROCESSOR=$(uname -m)
case $PROCESSOR in
x86_64)
ARCH="amd64"
ARCH="x64"
;;
aarch64)
ARCH="arm64"
;;
arm64)
ARCH="arm64"
;;
arm*)
ARCH="arm"
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@
"node16-macos-x64",
"node16-macos-arm64",
"node16-win-x64",
"node16-linux-arm"
"node16-linux-arm",
"node16-linux-arm64"
],
"assets": [
"./assets/**",
Expand Down
3 changes: 0 additions & 3 deletions scripts/generate-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ function parseFilename(filename) {
if (parts.length > 3) {
arch = parts[3].split('.')[0];
}
if (arch?.includes('arm')) {
arch = 'arm';
}
return {
platform: platformMap[parts[2]] || parts[2],
arch: arch // Removing file extension if present
Expand Down

0 comments on commit 1665b99

Please sign in to comment.