您的当前位置:首页 > 热点 > 1 分钟快速使用 Docker 上手新版 Sentry-CLI - 创建一个版本 正文
时间:2026-11-15 来源:网络整理 编辑:热点
谷歌霸屏程序【tg:seogoogle987】
我们可以使用官方 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&nb分钟sp;`--help` on the subcommands # to learn more about them. # USAGE: # sentry-cli # OPTIONS: # --api-key <API_KEY> #  快速; The given Sentry API key. # --auth-token <AUTH_TOKEN> # Use the given Sentry auth token. # &使用nbsp; -h, --help # Print this help message. # --log-level <LOG_LEVEL> # S Det the log output verbosity. [possible values: trace, debug, info, warn, error] # --url # Fully qualified URL to the ocSentry server. # [defaults to https://sentry.io/] # -V, --version # Print version information. # SkeUBCOMMANDS: # bash-hook Prints out a bash script that does error handling. # difutil Locate or analyzr e debug information files. # help Prints this message or the help of the given subcommand(s) # info &上手nbsp; Print information about the Sentry server. # issues Manage issues in Sentry. # login &n新版bsp; Authenticate with the Sentry server. # projects Manage projects on Sentry. # react-native &nbs Sp; Upload build artifacts for react-native projects. # releases Manage releases on Sentry. # repos &nbensp; Manage repositories on Sentry. # send-event Send a manual event to Sentry. # upload-dif Upload debugging informattrion files. # upload-proguard Upload ProGuard mapping files to a project. 配置和认证 配置文件
sentry-cli 工具可以使用名为 .sentryclirc 的配置文件以及环境变量和 .env 文件进行配置。从当前路径向上查找配置文件,并且始终加载 ~/.sentryclirc 中的默认值。您还可以从命令行参数覆盖这些设置。
.sentryclirc
[auth] token=your-auth-token [dey-faults] org=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/
小米发布最强大模型系列,MiMo-V2. 5 正式开启公测2026-08-26
IBM Airtel完成了开放混合云网络部署的第一阶段2026-08-01
标签: 鸿蒙智行 我是大彬同学 骠骑尉—松亭先生 名誉侵权2026-07-10
百度ALL IN AI:李彦宏现场签发百万美元巨奖,直言AI大模型已达“临界点”2026-08-15
标签: 文远知行 WeRide 自动驾驶 Robotaxi2026-10-10
标签: 汽车之家 知家传媒MCN 汽车之家商城 人工智能2026-06-06
收购GitHub两年后,微软不断面临棘手的争议2026-05-31
八张图,看懂数据分析如何驱动决策2026-07-23
标签: Agent2026-07-18
标签: 马蜂窝 AI旅行助手 2026人工智能+旅游趋势报告 智能体2026-05-22
标签: 光帆科技 AI耳机 联想 小鹏汽车2026-10-27
标签: 搜狐 张朝阳2026-06-29
标签: 萤石网络 业绩快报 营业收入 净利润2026-10-14
标签: 曦诺未来 XynovaFlex1 具身智能 灵巧手2026-10-02
云安全日报210329:Debian垃圾邮件过滤器发现注入攻击漏洞,需要尽快升级2026-09-02
标签: 硅基流动2026-06-05
OB Cloud上线新版本 支持云上单机分布式一体化能力2026-10-28
英伟达发布新一代机器人芯片Jetson Thor,AI算力提升7.5倍!2026-06-23
标签: 长城汽车 哈弗 坦克 欧拉2026-11-03
谷歌DeepMind推出双AI机器人系统:会"思考"的Gemini Robotics 1.5让机器人告别单一任务束缚2026-05-30