Skip to content

Commit 34ef85e

Browse files
authored
add type for Apple Silicon builds (#15)
Fixes: #14
1 parent baa3fc8 commit 34ef85e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ OS / architecture / packaging specifiers used in the listings include:
4040
* **linux-s390x**: normally .tar.gz and .tar.xz
4141
* **linux-x64**: normally .tar.gz and .tar.xz
4242
* **linux-x86**: normally .tar.gz and .tar.xz
43+
* **osx-arm64-tar**: normally .tar.gz and .tar.xz
4344
* **osx-x64-pkg**: OSX .pkg installer (64-bit only since io.js v1)
4445
* **osx-x64-tar**: normally .tar.gz and .tar.xz
4546
* **src**: normally .tar.gz and .tar.xz, full source used to build the distribution

transform-filename.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const assert = require('assert')
22
const types = {
33
'aix-ppc64': 'aix-ppc64',
4+
'darwin-arm64': 'osx-arm64-tar',
45
'darwin-x64': 'osx-x64-tar',
56
'darwin-x86': 'osx-x86-tar',
67
headers: 'headers',
@@ -145,6 +146,8 @@ if (module === require.main) {
145146
{ file: 'node-v9.0.0-test20170609cd40078f1f-darwin-x64.tar.xz' },
146147
{ file: 'node-v9.0.0-test20170609cd40078f1f-headers.tar.gz', type: 'headers' },
147148
{ file: 'node-v9.0.0-test20170609cd40078f1f-headers.tar.xz' },
149+
{ file: 'node-v16.0.0-rc.4-darwin-arm64.tar.gz', type: 'osx-arm64-tar' },
150+
{ file: 'node-v16.0.0-rc.4-darwin-arm64.tar.xz' },
148151
{ file: 'win-arm/node.exe', type: 'win-arm-exe' },
149152
{ file: 'node-v8.1.4-win-arm.7z', type: 'win-arm-7z' },
150153
{ file: 'node-v8.1.4-win-arm.zip', type: 'win-arm-zip' },

0 commit comments

Comments
 (0)