chore(cli): Upgrade Sentry CLI (#293)
* chore(cli): Upgrade Sentry CLI Upgrade the Sentry CLI to the latest Upgrade the Sentry CLI to the latest version (in yarn.lock). Also, increase the version bound to ^2.46.0 in the `package.json`, as this version introduced retries for all API requests. * Update CLI typing The `SentryCliReleases` interface types the `new` method incorrectly; we need to use `SentryCli['releases']` instead. Also, since the SentryCliReleases is removed in Sentry CLI 3.0, this change makes us future compatible * recompile dist * bump also in package.json to 2.58.4
This commit is contained in:
Vendored
+1
-1
@@ -123612,7 +123612,7 @@ module.exports = JSON.parse('{"eN":{"H":"https://github.com/elastic/require-in-t
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = JSON.parse('{"name":"action-release","version":"3.4.0","private":true,"description":"GitHub Action for creating a release on Sentry","main":"dist/index.js","scripts":{"all":"yarn run format && yarn run lint && yarn run build && yarn test","build":"ncc build src/main.ts -e @sentry/cli","format":"prettier --write **/*.ts **/*.md","format-check":"prettier --check **/*.ts **/*.md","lint":"eslint src/**/*.ts","set-docker-tag":"./scripts/set-docker-tag.sh","set-docker-tag-from-branch":"./scripts/set-docker-tag-from-branch.sh","start":"node dist/index.js","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/getsentry/action-release.git"},"keywords":["actions","sentry","release"],"author":"Sentry","license":"MIT","dependencies":{"@actions/core":"^1.11.1","@sentry/node":"^8.54.0","@sentry/cli":"^2.41.1"},"devDependencies":{"@types/jest":"^29.5.6","@types/node":"^20.8.9","@typescript-eslint/parser":"^6.9.0","@vercel/ncc":"^0.38.1","eslint":"^8.52.0","eslint-plugin-github":"^4.10.1","eslint-plugin-jest":"^27.4.3","jest":"^29.7.0","jest-circus":"^29.7.0","js-yaml":"^4.1.0","prettier":"^3.0.3","ts-jest":"^29.1.1","typescript":"^5.2.2"},"volta":{"node":"20.19.2","yarn":"1.22.4"}}');
|
||||
module.exports = JSON.parse('{"name":"action-release","version":"3.4.0","private":true,"description":"GitHub Action for creating a release on Sentry","main":"dist/index.js","scripts":{"all":"yarn run format && yarn run lint && yarn run build && yarn test","build":"ncc build src/main.ts -e @sentry/cli","format":"prettier --write **/*.ts **/*.md","format-check":"prettier --check **/*.ts **/*.md","lint":"eslint src/**/*.ts","set-docker-tag":"./scripts/set-docker-tag.sh","set-docker-tag-from-branch":"./scripts/set-docker-tag-from-branch.sh","start":"node dist/index.js","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/getsentry/action-release.git"},"keywords":["actions","sentry","release"],"author":"Sentry","license":"MIT","dependencies":{"@actions/core":"^1.11.1","@sentry/node":"^8.54.0","@sentry/cli":"^2.58.4"},"devDependencies":{"@types/jest":"^29.5.6","@types/node":"^20.8.9","@typescript-eslint/parser":"^6.9.0","@vercel/ncc":"^0.38.1","eslint":"^8.52.0","eslint-plugin-github":"^4.10.1","eslint-plugin-jest":"^27.4.3","jest":"^29.7.0","jest-circus":"^29.7.0","js-yaml":"^4.1.0","prettier":"^3.0.3","ts-jest":"^29.1.1","typescript":"^5.2.2"},"volta":{"node":"20.19.2","yarn":"1.22.4"}}');
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.11.1",
|
||||
"@sentry/node": "^8.54.0",
|
||||
"@sentry/cli": "^2.41.1"
|
||||
"@sentry/cli": "^2.58.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^29.5.6",
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
import { getTraceData } from '@sentry/node';
|
||||
import SentryCli, { SentryCliReleases } from '@sentry/cli';
|
||||
import SentryCli from '@sentry/cli';
|
||||
// @ts-ignore
|
||||
import { version } from '../package.json';
|
||||
|
||||
@@ -8,7 +8,7 @@ import { version } from '../package.json';
|
||||
*
|
||||
* When the `MOCK` environment variable is set, stub out network calls.
|
||||
*/
|
||||
export const getCLI = (): SentryCliReleases => {
|
||||
export const getCLI = (): SentryCli['releases'] => {
|
||||
// Set the User-Agent string.
|
||||
process.env['SENTRY_PIPELINE'] = `github-action-release/${version}`;
|
||||
|
||||
|
||||
@@ -1006,45 +1006,50 @@
|
||||
"@opentelemetry/instrumentation" "^0.49 || ^0.50 || ^0.51 || ^0.52.0 || ^0.53.0"
|
||||
"@opentelemetry/sdk-trace-base" "^1.22"
|
||||
|
||||
"@sentry/cli-darwin@2.41.1":
|
||||
version "2.41.1"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-darwin/-/cli-darwin-2.41.1.tgz#ca7e12bf1ad59bc2df35868ae98abc8869108efa"
|
||||
integrity sha512-7pS3pu/SuhE6jOn3wptstAg6B5nUP878O6s+2svT7b5fKNfYUi/6NPK6dAveh2Ca0rwVq40TO4YFJabWMgTpdQ==
|
||||
"@sentry/cli-darwin@2.58.4":
|
||||
version "2.58.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-darwin/-/cli-darwin-2.58.4.tgz#5e3005c1f845acac243e8dcb23bef17337924768"
|
||||
integrity sha512-kbTD+P4X8O+nsNwPxCywtj3q22ecyRHWff98rdcmtRrvwz8CKi/T4Jxn/fnn2i4VEchy08OWBuZAqaA5Kh2hRQ==
|
||||
|
||||
"@sentry/cli-linux-arm64@2.41.1":
|
||||
version "2.41.1"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-linux-arm64/-/cli-linux-arm64-2.41.1.tgz#948e8af8290418b1562db3531db08e69e39d74bb"
|
||||
integrity sha512-EzYCEnnENBnS5kpNW+2dBcrPZn1MVfywh2joGVQZTpmgDL5YFJ59VOd+K0XuEwqgFI8BSNI14KXZ75s4DD1/Vw==
|
||||
"@sentry/cli-linux-arm64@2.58.4":
|
||||
version "2.58.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-linux-arm64/-/cli-linux-arm64-2.58.4.tgz#69da57656fda863f255d92123c3a3437e470408e"
|
||||
integrity sha512-0g0KwsOozkLtzN8/0+oMZoOuQ0o7W6O+hx+ydVU1bktaMGKEJLMAWxOQNjsh1TcBbNIXVOKM/I8l0ROhaAb8Ig==
|
||||
|
||||
"@sentry/cli-linux-arm@2.41.1":
|
||||
version "2.41.1"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-linux-arm/-/cli-linux-arm-2.41.1.tgz#1e5fa971ae8dfb3ea5564c8503b4e635ae6aed8a"
|
||||
integrity sha512-wNUvquD6qjOCczvuBGf9OiD29nuQ6yf8zzfyPJa5Bdx1QXuteKsKb6HBrMwuIR3liyuu0duzHd+H/+p1n541Hg==
|
||||
"@sentry/cli-linux-arm@2.58.4":
|
||||
version "2.58.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-linux-arm/-/cli-linux-arm-2.58.4.tgz#869ddab30f0dcebc0e61cff2f3ff47dcd40f8abe"
|
||||
integrity sha512-rdQ8beTwnN48hv7iV7e7ZKucPec5NJkRdrrycMJMZlzGBPi56LqnclgsHySJ6Kfq506A2MNuQnKGaf/sBC9REA==
|
||||
|
||||
"@sentry/cli-linux-i686@2.41.1":
|
||||
version "2.41.1"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-linux-i686/-/cli-linux-i686-2.41.1.tgz#3f01aff314f2ad8fd761f3e6e807a5ec09ae4eb4"
|
||||
integrity sha512-urpQCWrdYnSAsZY3udttuMV88wTJzKZL10xsrp7sjD/Hd+O6qSLVLkxebIlxts70jMLLFHYrQ2bkRg5kKuX6Fg==
|
||||
"@sentry/cli-linux-i686@2.58.4":
|
||||
version "2.58.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-linux-i686/-/cli-linux-i686-2.58.4.tgz#e30ca6b897147b3fb7b2e8684b139183d55e21c6"
|
||||
integrity sha512-NseoIQAFtkziHyjZNPTu1Gm1opeQHt7Wm1LbLrGWVIRvUOzlslO9/8i6wETUZ6TjlQxBVRgd3Q0lRBG2A8rFYA==
|
||||
|
||||
"@sentry/cli-linux-x64@2.41.1":
|
||||
version "2.41.1"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-linux-x64/-/cli-linux-x64-2.41.1.tgz#30dbf966a4b4c1721ffccd901dfcb6f967db073d"
|
||||
integrity sha512-ZqpYwHXAaK4MMEFlyaLYr6mJTmpy9qP6n30jGhLTW7kHKS3s6GPLCSlNmIfeClrInEt0963fM633ZRnXa04VPw==
|
||||
"@sentry/cli-linux-x64@2.58.4":
|
||||
version "2.58.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-linux-x64/-/cli-linux-x64-2.58.4.tgz#f667e1fcaf0860f15401af8e0ee72f5013d84458"
|
||||
integrity sha512-d3Arz+OO/wJYTqCYlSN3Ktm+W8rynQ/IMtSZLK8nu0ryh5mJOh+9XlXY6oDXw4YlsM8qCRrNquR8iEI1Y/IH+Q==
|
||||
|
||||
"@sentry/cli-win32-[email protected]":
|
||||
version "2.41.1"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-win32-i686/-/cli-win32-i686-2.41.1.tgz#f88eeb5d2d4ee46c38d8616ae1eb484108ea71c2"
|
||||
integrity sha512-AuRimCeVsx99DIOr9cwdYBHk39tlmAuPDdy2r16iNzY0InXs4xOys4gGzM7N4vlFQvFkzuc778Su0HkfasgprA==
|
||||
"@sentry/cli-win32-[email protected]":
|
||||
version "2.58.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-win32-arm64/-/cli-win32-arm64-2.58.4.tgz#f612c5788954e2a97b6626e9e46fa9a41cb049c1"
|
||||
integrity sha512-bqYrF43+jXdDBh0f8HIJU3tbvlOFtGyRjHB8AoRuMQv9TEDUfENZyCelhdjA+KwDKYl48R1Yasb4EHNzsoO83w==
|
||||
|
||||
"@sentry/cli-win32-[email protected]":
|
||||
version "2.41.1"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-win32-x64/-/cli-win32-x64-2.41.1.tgz#eefd95a2aa184adb464334e265b55a9142070f6f"
|
||||
integrity sha512-6JcPvXGye61+wPp0xdzfc2YLE/Dcud8JdaK8VxLM3b/8+Em7E+UyliDu3uF8+YGUqizY5JYTd3fs17DC8DZhLw==
|
||||
"@sentry/cli-win32-[email protected]":
|
||||
version "2.58.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-win32-i686/-/cli-win32-i686-2.58.4.tgz#5611c05499f1b959d23e37650d0621d299c49cfc"
|
||||
integrity sha512-3triFD6jyvhVcXOmGyttf+deKZcC1tURdhnmDUIBkiDPJKGT/N5xa4qAtHJlAB/h8L9jgYih9bvJnvvFVM7yug==
|
||||
|
||||
"@sentry/cli@^2.41.1":
|
||||
version "2.41.1"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli/-/cli-2.41.1.tgz#a9467ca3ff4acfcdedec1565c9ff726b93758d29"
|
||||
integrity sha512-0GVmDiTV7R1492wkVY4bGcfC0fSmRmQjuxaaPI8CIV9B2VP9pBVCUizi1mevXaaE4I3fM60LI+XYrKFEneuVog==
|
||||
"@sentry/cli[email protected]":
|
||||
version "2.58.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli-win32-x64/-/cli-win32-x64-2.58.4.tgz#3290c59399579e8d484c97246cfa720171241061"
|
||||
integrity sha512-cSzN4PjM1RsCZ4pxMjI0VI7yNCkxiJ5jmWncyiwHXGiXrV1eXYdQ3n1LhUYLZ91CafyprR0OhDcE+RVZ26Qb5w==
|
||||
|
||||
"@sentry/cli@^2.58.4":
|
||||
version "2.58.4"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/cli/-/cli-2.58.4.tgz#eb8792600cdf956cc4fe2bf51380ea1682327411"
|
||||
integrity sha512-ArDrpuS8JtDYEvwGleVE+FgR+qHaOp77IgdGSacz6SZy6Lv90uX0Nu4UrHCQJz8/xwIcNxSqnN22lq0dH4IqTg==
|
||||
dependencies:
|
||||
https-proxy-agent "^5.0.0"
|
||||
node-fetch "^2.6.7"
|
||||
@@ -1052,13 +1057,14 @@
|
||||
proxy-from-env "^1.1.0"
|
||||
which "^2.0.2"
|
||||
optionalDependencies:
|
||||
"@sentry/cli-darwin" "2.41.1"
|
||||
"@sentry/cli-linux-arm" "2.41.1"
|
||||
"@sentry/cli-linux-arm64" "2.41.1"
|
||||
"@sentry/cli-linux-i686" "2.41.1"
|
||||
"@sentry/cli-linux-x64" "2.41.1"
|
||||
"@sentry/cli-win32-i686" "2.41.1"
|
||||
"@sentry/cli-win32-x64" "2.41.1"
|
||||
"@sentry/cli-darwin" "2.58.4"
|
||||
"@sentry/cli-linux-arm" "2.58.4"
|
||||
"@sentry/cli-linux-arm64" "2.58.4"
|
||||
"@sentry/cli-linux-i686" "2.58.4"
|
||||
"@sentry/cli-linux-x64" "2.58.4"
|
||||
"@sentry/cli-win32-arm64" "2.58.4"
|
||||
"@sentry/cli-win32-i686" "2.58.4"
|
||||
"@sentry/cli-win32-x64" "2.58.4"
|
||||
|
||||
"@sentry/[email protected]":
|
||||
version "8.54.0"
|
||||
|
||||
Reference in New Issue
Block a user