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 --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> # 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 the log output verbosity. [possible values: trace, debug, info, warn, error] # --url # Fully qualified URL to the Sentry server. # [defaults to https://sentry.io/] # -V, --version # Print version information. # SUBCOMMANDS: # bash-hook Prints out a bash script that does error handling. # difutil Locate or analyze debug information 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 Authenticate with the Sentry server. # projects Manage projects on Sentry. # react-native Upload build artifacts for react-native projects. # releases Manage releases on Sentry. # repos Manage repositories on Sentry. # send-event Send a manual event to Sentry. # upload-dif Upload debugging information files. # upload-proguard Upload ProGuard mapping files to a project. 配置和认证 配置文件
sentry-cli 工具可以使用名为 .sentryclirc 的配置文件以及环境变量和 .env 文件进行配置。从当前路径向上查找配置文件,并且始终加载 ~/.sentryclirc 中的默认值。您还可以从命令行参数覆盖这些设置。
.sentryclirc
[auth] token=your-auth-token [defaults] 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/
(责任编辑:留学频道)
-
云计算核心技术Docker教程:docker-compose环境变量
Compose有多个部分以一种或另一种方式处理环境变量。 在compose文件中替换环境变量,可以在外壳中使用环境变量来填充Compose文件中的值: web: image: "webapp:${TA...[详细]
-
你认为自己已经掌握了“边缘计算”的基本概念,而现在,先行者又在其前面加上“移动”一词,提出了全新的“移动边缘计算”概念。 虽然我们对移动技术非常熟悉,并且可以在与边缘计算相结合时推断出它的含义,但实际...[详细]
-
在过去的两三年中,机器人流程自动化(RPA)在中国的应用量迅猛增长。去年疫情更是大大提高了企业对流程实现自动化的动力,尤其体现在财务会计领域及RPA最擅长的各项日常任务。 近期的行业报告预测,企业在R...[详细]
-
近日,人工智能公司 Anthropic 官方确认,Claude 系列模型在近期遭遇了一些回复质量下降的问题,不过这已被他们成功解决。公司强调,问题并非因需求或成本因素所致,完全是意外情况。 据悉,这一...[详细]
-
在人工智能浪潮迭起的今天,OpenAI 再次投下一颗重磅炸弹,正式向全球推出了两款全新的开源安全推理模型,它们的名字注定将刻印在 AI 安全的新篇章上:gpt-oss-safeguard-120b 与...[详细]
-
云梦级2月4日云梦级消息,当地时间 2 月 3 日,AMD 公司公布 2025 年第四季度及全年财务报告。AMD 2025 年第四季度营收 103 亿美元创纪录,同比增长 34%;毛利率达 54%,上...[详细]
-
火山引擎发布豆包大模型1.6升级版,日均 Tokens 调用量突破30万亿!
今日,火山引擎宣布对旗下豆包大模型矩阵进行全新发布和升级,并重磅推出“智能模型路由”服务,以加速企业迈向 Agentic AI 时代。 火山引擎此次共发布和升级了四款豆包大模型:豆包大模型1.6升级:...[详细]
-
Meta收集员工日常行为数据用于训练大模型 隐私边界再受挑战
近日,Meta 向全体员工发出了一项重要通知,推出了一项名为 “模型能力倡议”(Model Capability Initiative,简称 MCI)的新计划。该计划旨在利用员工的工作行为数据,以加速...[详细]
-
标签: Last War Whiteout Survival Royal Match MONOPOLY GO!
云梦级1月8日云梦级消息,SensorTower最新数据显示,由FUNFLY发行的《Last War: Survival》在2025年12月继续蝉联全球手游收入榜榜首。紧随其后的是《Whiteout...[详细]
-
Scale AI 起诉前员工及竞争对手 Mercor,指控窃取商业机密
近日,Scale AI 公司向其前销售员工及竞争对手 Mercor 提起诉讼,指控该员工在离职前窃取了超过100份与客户策略及其他专有信息相关的机密文件。根据 Scale AI 在诉状中所述,这位名叫...[详细]

标签: XREAL 光波导 Micro-OLED 雷鸟