1 分钟快速使用 Docker 上手新版 Sentry-CLI - 创建一个版本
我们可以使用官方 sentry-cli 工具操作 Sentry API,从而来为你的项目管理一些数据。它主要用于管理 iOS、Android 的调试信息文件,以及其他平台的版本(release)和源代码映射(source maps)管理。 安装 Docker 镜像 默认情况下,该命令在 /work 目录中运行。挂载相关的你的项目文件夹并在那里构建输出以允许 sentry-cli 扫描资源: # 拉取镜像 docker pull getsentry/sentry-cli # 执行命令 docker run --rm -v $(pwd):/work getsentry/sentry-cli&1 nbsp;--help # sentry-cli 1.68.0 # Command line utility for Sentry. # This tool helps you manage remote resources on a Sentry server like # sourcemaps, debug symbols or releases. Use&nbs分钟p;`--help` on the subcommands # to learn more about them. # USAGE: # sentry-cli # OPTIONS: # --api-key <API_KEY> # &nb快速sp; The given Sentry API key. # --auth-token <AUTH_TOKEN> # Use the given Sentry auth token. #  使用; -h, --help # Print this help message. # --log-level <LOG_LEVEL> # Set&nbs Dp;the log output verbosity. [possible values: trace, debug, info, warn, error] # --url # Fully qualified URL to the Sentry&nbocsp;server. # [defaults to https://sentry.io/] # -V, --version # Print version information. # SUBCOMMANDS:&nkebsp;# bash-hook Prints out a bash script that does error handling. # difutil Locate or analyze debug&nbr sp;information files. # help Prints this message or the help of the given subcommand(s) # info &n上手bsp; Print information about the Sentry server. # issues Manage issues in Sentry. # login &nb新版sp; Authenticate with the Sentry server. # projects Manage projects on Sentry. # react-native Upload S build artifacts for react-native projects. # releases Manage releases on Sentry. # repos Manageen repositories on Sentry. # send-event Send a manual event to Sentry. # upload-dif Upload debugging information files.&trnbsp;# upload-proguard Upload ProGuard mapping files to a project. 配置和认证 配置文件 sentry-cli 工具可以使用名为 .sentryclirc 的配置文件以及环境变量和 .env 文件进行配置。从当前路径向上查找配置文件,并且始终加载 ~/.sentryclirc 中的默认值。您还可以从命令行参数覆盖这些设置。 .sentryclirc [auth] token=your-auth-token [defaults] ory-g=sentry project=react-sentry-demo url=https://x.xxx.com 进入容器内 创建一个新版本: docker run --rm -it -v $(pwd):/work getsentry/sentry-cli /bin/sh sentry-cli releases new 1.0.0 Refs https://docs.sentry.io/product/cli/
- 最近发表
- 随机阅读
-
- 标签: 衢江公安 周某 非法控制计算机信息系统 文件上传漏洞
- 扎克伯格:暴徒冲击国会不是Facebook的责任
- 云安全日报210802:思科网络安全设备发现特权提升漏洞,需要尽快升级
- 苹果第一财季iPhone销售额656亿美元 同比增长17.2%
- Claude桌面版官方支持使用第三方API:支持三大云平台,全面助力高效协同
- AI招聘平台Jack & Jill完成2000万美元种子轮融资:用对话式AI重构求职流程
- 标签: 中国银行 2025年报 跨境金融 全球托管银行
- 苹果2020Q4重回智能手机销量全球第一,但全年销售龙头仍是三星
- 标签: 海柔创新 HaiPick Climb ACR 港交所IPO
- 标签: ST智知 聚安网 燃气安全 分布式智算
- 标签: 可灵AI 可灵视频3.0 可灵图片3.0 AI影视生成
- LeCun联手博士后arxiv发文,遭reddit网友质疑:第一张图就错了
- 如何计算混合云的总成本
- 优化器怎么选?一文教你选择适合不同ML项目的优化器
- 标签: 沃尔沃 欣旺达 吉利威睿 EX30
- 标签: 京东外卖 库迪咖啡 瑞幸咖啡 蜜雪冰城
- 中国智能音箱销量破千万,大模型渗透率仅33%!AI音箱的爆发前夜来了?
- 苹果最快本月正式推送iOS 14.6:解决性能下降
- Twitter发布新产品Birdwatch:让用户协助打击错误信息
- 谷歌推迟员工回归办公室时间到10月 必须接种疫苗
- 搜索
-
- 友情链接