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 `-分钟-help` on the subcommands # to learn more about them. # USAGE: # sentry-cli # OPTIONS: # --api-key <API_KEY> # &n快速bsp; The given Sentry API key. # --auth-token <AUTH_TOKEN> # Use the given Sentry auth token. # &n使用bsp; -h, --help # Print this help message. # --log-level <LOG_LEVEL> # Set the  D;log output verbosity. [possible values: trace, debug, info, warn, error] # --url # Fully qualified URL to the Sentry serveocr. # [defaults to https://sentry.io/] # -V, --version # Print version information. # SUBCOMMANDS: #&nbkesp; bash-hook Prints out a bash script that does error handling. # difutil Locate or analyze debug inr formation files. # help Prints this message or the help of the given subcommand(s) # info 上手 Print information about the Sentry server. # issues Manage issues in Sentry. # login &nbs新版p; Authenticate with the Sentry server. # projects Manage projects on Sentry. # react-native Upload b Suild artifacts for react-native projects. # releases Manage releases on Sentry. # repos Manage&nbsenp;repositories on Sentry. # send-event Send a manual event to Sentry. # upload-dif Upload debugging information files. tr# upload-proguard Upload ProGuard mapping files to a project. 配置和认证 配置文件
sentry-cli 工具可以使用名为 .sentryclirc 的配置文件以及环境变量和 .env 文件进行配置。从当前路径向上查找配置文件,并且始终加载 ~/.sentryclirc 中的默认值。您还可以从命令行参数覆盖这些设置。
.sentryclirc
[auth] token=your-auth-token [defaults] org=sentry-y 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/
- ·云计算开发:Python练习实例-对10个数进行排序
- ·蚂蚁集团发布万亿参数模型 Ling-1T,超越 GPT-5 成新标杆
- ·标签: 脉脉
- ·数据备份失败引发数据保护挑战
- ·标签: 腾势D9再
- ·标签: 三星电子 存储芯片 高带宽内存 SK海力士
- ·标签: 苏泊尔 小家电 炊具 电器
- ·腾讯重磅发布混元3D 3.0模型 建模精度提升3倍
- ·甲骨文宣布发行150亿美元债券 用于偿还明年到期债务
- ·标签: Netflix 华纳兄弟探索 HBO 派拉蒙
- ·盘点2021年九大好用的人脸识别软件
- ·标签: 美团 外卖平台 反垄断 行业竞争
- ·这可能是全网最有用的【数据分析师求职攻略】
- ·小米销量首超苹果 雷军回忆七年前曾被苹果高管嘲讽
- ·标签: 蚂蚁集团 健康事业群 AI健康管家 张俊杰
- ·标签: 泰金新能 688813 电解装备 钛电极
- ·苹果客服和游戏公司踢皮球?6岁儿童花8千充网游家长退款难
- ·标签: 华为PuraXMax 奇瑞风云T9L 网络直播打赏 阔折叠手机
- ·影禾医脉联合北京天坛医院发布全球首个全疾病覆盖颅脑CT辅助报告大模型
- ·78% 的企业重视网络能力以推动生成式人工智能部署
- ·钉钉十周年重磅发布8.0版本,推出AI办公新形态"钉钉ONE"
- ·甲骨文大跃进背后:与 OpenAI 的 3000 亿美元巨额合同揭示未来风险
- ·谷歌 Gemini 新功能上线:一键生成 PPT,轻松搞定演示文稿!
- ·让AI精准识别盗版,脸书开源数据增强库:提供100多种增强方式
- ·标签: 死了么 APP 95后团队 付费软件
- ·2025年GEO优化实战指南:这样做AI搜索优化,从被“摘录”到被引用
