@sentry/cli 1.73.0 → 1.73.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -1
- package/checksums.txt +9 -9
- package/package.json +3 -2
- package/scripts/install.js +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
"You know what they say. Fool me once, strike one, but fool me twice... strike three." — Michael Scott
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 1.73.1
|
|
6
|
+
|
|
7
|
+
### Various fixes & improvements
|
|
8
|
+
|
|
9
|
+
- feat: Allow for using local binary through SENTRYCLI_USE_LOCAL env (#1129) by @kamilogorek
|
|
10
|
+
- ref: Dont panic on malformed xcodeproj directories (#1127) by @kamilogorek
|
|
6
11
|
|
|
7
12
|
## 1.73.0
|
|
8
13
|
|
package/checksums.txt
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
sentry-cli-Darwin-arm64=
|
|
2
|
-
sentry-cli-Darwin-universal=
|
|
3
|
-
sentry-cli-Darwin-x86_64=
|
|
4
|
-
sentry-cli-Linux-aarch64=
|
|
5
|
-
sentry-cli-Linux-armv7=
|
|
6
|
-
sentry-cli-Linux-i686=
|
|
7
|
-
sentry-cli-Linux-x86_64=
|
|
8
|
-
sentry-cli-Windows-i686.exe=
|
|
9
|
-
sentry-cli-Windows-x86_64.exe=
|
|
1
|
+
sentry-cli-Darwin-arm64=94134d4e93df23462698f09ff172b53abcff13ef929507670372c84b20f776b7
|
|
2
|
+
sentry-cli-Darwin-universal=041e3994de2d49c562792ae74d2a4f9be1fa145f267dcb1ec894cd83cb8ec2f6
|
|
3
|
+
sentry-cli-Darwin-x86_64=2b236ce84f866251013964ad4190ee6be8e8079d52d5b38d0efd13a468073f20
|
|
4
|
+
sentry-cli-Linux-aarch64=3dc9dacf69d55f4fe64e67dccbea647f50f884019e0d0eb58534f407bbde7fbd
|
|
5
|
+
sentry-cli-Linux-armv7=28bbd534ab4312e6a49b9792cf6f12c77fe5a280fa7bb7d71101af66ce3380b5
|
|
6
|
+
sentry-cli-Linux-i686=437eeed2799dabae95e3fda76ddff649604729068265b2c2d88afff1a3a64446
|
|
7
|
+
sentry-cli-Linux-x86_64=85ca7fce2267088766fdb6d00d6ff3ad45e43c234eab21a107e70292cee714c7
|
|
8
|
+
sentry-cli-Windows-i686.exe=e994d15f6d6300feaca1f178d4b980b44162e8d9fac7ef23fff9490fd033aa6a
|
|
9
|
+
sentry-cli-Windows-x86_64.exe=224a411aa268183576b56cd3978a4cd5e58bea4753f67bcfda51be5b46a5a58b
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/cli",
|
|
3
|
-
"version": "1.73.
|
|
3
|
+
"version": "1.73.1",
|
|
4
4
|
"description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/",
|
|
5
5
|
"homepage": "https://docs.sentry.io/hosted/learn/cli/",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
"node-fetch": "^2.6.7",
|
|
41
41
|
"npmlog": "^4.1.2",
|
|
42
42
|
"progress": "^2.0.3",
|
|
43
|
-
"proxy-from-env": "^1.1.0"
|
|
43
|
+
"proxy-from-env": "^1.1.0",
|
|
44
|
+
"which": "^2.0.2"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"eslint": "^6.8.0",
|
package/scripts/install.js
CHANGED
|
@@ -18,6 +18,7 @@ const Proxy = require('proxy-from-env');
|
|
|
18
18
|
// NOTE: Can be dropped in favor of `fs.mkdirSync(path, { recursive: true })` once we stop supporting Node 8.x
|
|
19
19
|
const mkdirp = require('mkdirp');
|
|
20
20
|
const npmLog = require('npmlog');
|
|
21
|
+
const which = require('which');
|
|
21
22
|
|
|
22
23
|
const helper = require('../js/helper');
|
|
23
24
|
const pkgInfo = require('../package.json');
|
|
@@ -194,6 +195,20 @@ function downloadBinary() {
|
|
|
194
195
|
const platform = os.platform();
|
|
195
196
|
const outputPath = helper.getPath();
|
|
196
197
|
|
|
198
|
+
if (process.env.SENTRYCLI_USE_LOCAL === '1') {
|
|
199
|
+
try {
|
|
200
|
+
const binPath = which.sync('sentry-cli');
|
|
201
|
+
npmLog.info('sentry-cli', `Using local binary: ${binPath}`);
|
|
202
|
+
fs.copyFileSync(binPath, outputPath);
|
|
203
|
+
return Promise.resolve();
|
|
204
|
+
} catch (e) {
|
|
205
|
+
throw new Error(
|
|
206
|
+
'Configured installation of local binary, but it was not found.' +
|
|
207
|
+
'Make sure that `sentry-cli` executable is available in your $PATH or disable SENTRYCLI_USE_LOCAL env variable.'
|
|
208
|
+
);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
197
212
|
const downloadUrl = getDownloadUrl(platform, arch);
|
|
198
213
|
if (!downloadUrl) {
|
|
199
214
|
return Promise.reject(new Error(`Unsupported target ${platform}-${arch}`));
|