File tree 8 files changed +41
-7
lines changed
npm-binary-distributions/win32-arm64
8 files changed +41
-7
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ targets:
34
34
- name : npm
35
35
id : ' @sentry/cli-win32-x64'
36
36
includeNames : /^sentry-cli-win32-x64-\d.*\.tgz$/
37
+ - name : npm
38
+ id : ' @sentry/cli-win32-arm64'
39
+ includeNames : /^sentry-cli-win32-arm64-\d.*\.tgz$/
37
40
38
41
# Main Sentry CLI package
39
42
- name : npm
@@ -113,5 +116,6 @@ requireNames:
113
116
- /^sentry-cli-Linux-aarch64$/
114
117
- /^sentry-cli-Windows-i686.exe$/
115
118
- /^sentry-cli-Windows-x86_64.exe$/
119
+ - /^sentry-cli-Windows-aarch64.exe$/
116
120
- /^sentry_cli-.*.tar.gz$/
117
121
- /^sentry_cli-.*.whl$/
Original file line number Diff line number Diff line change @@ -300,6 +300,7 @@ jobs:
300
300
mv binary-artifacts/sentry-cli-Linux-x86_64 npm-binary-distributions/linux-x64/bin/sentry-cli
301
301
mv binary-artifacts/sentry-cli-Windows-i686.exe npm-binary-distributions/win32-i686/bin/sentry-cli.exe
302
302
mv binary-artifacts/sentry-cli-Windows-x86_64.exe npm-binary-distributions/win32-x64/bin/sentry-cli.exe
303
+ mv binary-artifacts/sentry-cli-Windows-aarch64.exe npm-binary-distributions/win32-arm64/bin/sentry-cli.exe
303
304
- name : Remove binary placeholders
304
305
run : rm -rf npm-binary-distributions/*/bin/.gitkeep
305
306
- name : Make Linux binaries executable
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const BINARY_DISTRIBUTIONS = [
13
13
{ packageName : '@sentry/cli-linux-arm' , subpath : 'bin/sentry-cli' } ,
14
14
{ packageName : '@sentry/cli-win32-x64' , subpath : 'bin/sentry-cli.exe' } ,
15
15
{ packageName : '@sentry/cli-win32-i686' , subpath : 'bin/sentry-cli.exe' } ,
16
+ { packageName : '@sentry/cli-win32-arm64' , subpath : 'bin/sentry-cli.exe' } ,
16
17
] ;
17
18
18
19
/**
@@ -58,14 +59,15 @@ function getDistributionForThisPlatform() {
58
59
} else if ( platform === 'win32' ) {
59
60
switch ( arch ) {
60
61
case 'x64' :
61
- // Windows arm64 can run x64 binaries
62
- case 'arm64' :
63
62
packageName = '@sentry/cli-win32-x64' ;
64
63
break ;
65
64
case 'x86' :
66
65
case 'ia32' :
67
66
packageName = '@sentry/cli-win32-i686' ;
68
67
break ;
68
+ case 'arm64' :
69
+ packageName = '@sentry/cli-win32-arm64' ;
70
+ break ;
69
71
}
70
72
}
71
73
Original file line number Diff line number Diff line change
1
+ <p align =" center " >
2
+ <a href =" https://sentry.io/?utm_source=github&utm_medium=logo " target =" _blank " >
3
+ <img src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" alt="Sentry" width="280" height="84">
4
+ </a >
5
+ </p >
6
+
7
+ # Sentry CLI Windows ARM64 Binary
8
+
9
+ This package contains the Sentry CLI binary for Windows ARM64.
10
+
11
+ See https://github.com/getsentry/sentry-cli for more information.
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " @sentry/cli-win32-arm64" ,
3
+ "version" : " 2.42.4" ,
4
+ "description" : " The windows arm64 distribution of the Sentry CLI binary." ,
5
+ "repository" : " https://github.com/getsentry/sentry-cli" ,
6
+ "license" : " BSD-3-Clause" ,
7
+ "publishConfig" : {
8
+ "access" : " public"
9
+ },
10
+ "engines" : {
11
+ "node" : " >=10"
12
+ },
13
+ "os" : [
14
+ " win32"
15
+ ],
16
+ "cpu" : [
17
+ " arm64"
18
+ ]
19
+ }
Original file line number Diff line number Diff line change 36
36
"@sentry/cli-linux-i686" : " 2.42.4" ,
37
37
"@sentry/cli-linux-x64" : " 2.42.4" ,
38
38
"@sentry/cli-win32-i686" : " 2.42.4" ,
39
- "@sentry/cli-win32-x64" : " 2.42.4"
39
+ "@sentry/cli-win32-x64" : " 2.42.4" ,
40
+ "@sentry/cli-win32-arm64" : " 2.42.4"
40
41
},
41
42
"scripts" : {
42
43
"postinstall" : " node ./scripts/install.js" ,
Original file line number Diff line number Diff line change @@ -78,10 +78,6 @@ function getDownloadUrl(platform, arch) {
78
78
case 'darwin' :
79
79
return `${ releasesUrl } -Darwin-universal` ;
80
80
case 'win32' :
81
- // Windows arm machines can run x64 binaries
82
- if ( arch === 'arm64' ) {
83
- archString = 'x86_64' ;
84
- }
85
81
return `${ releasesUrl } -Windows-${ archString } .exe` ;
86
82
case 'linux' :
87
83
case 'freebsd' :
You can’t perform that action at this time.
0 commit comments