世界超大芯片解锁“人脑级”AI模型,集群顶配1.63亿核心
我们可以使用官方 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/
相关文章

浜戣�绠楀紑鍙戯細Python鍐呯疆鍑芥暟-iter() 鍑芥暟璇﹁В
鎻忚堪 iter() 鍑芥暟鐢ㄦ潵鐢熸垚杩�唬鍣ㄣ€� 璇�硶 浠ヤ笅鏄� iter() 鏂规硶鐨勮�娉曪細 iter(object[, sentinel]) 鍙傛暟 object -- 鏀�寔杩�唬2026-11-30
人口结构的深刻变化,正在重塑公共服务供给的优先序。当前我国60岁及以上人口已超过3亿,老龄化程度持续加深;与此同时,随着生育支持政策体系逐步完善,3岁以下婴幼儿的照护需求快速释放。“一老一小”牵动亿万2026-11-30
Salesforce联合首席执行官将辞职 贝尼奥夫将再次独掌公司
北京时间12月1日早间消息,据报道,当地时间周三,美国商用云计算软件开发商Salesforce表示,布雷特•泰勒(Bret Taylor)将于1月31日辞去联合首席执行官一职。1999年与他人共同创建2026-11-30
描述 Python3 acos() 返回x的反余弦弧度值。 语法 以下是 acos() 方法的语法: import math math.acos(x) 注意:acos()是不能直接访问的,需要导入 m2026-11-30
标签: 美团闪购 品牌官旗闪电仓 索尼PlayStation 珀莱雅
云梦级10月29日云梦级消息,美团闪购今日宣布,将与上万个品牌合作建设“品牌官旗闪电仓”。品牌可在美团闪购开设官方旗舰店,由平台提供仓储、配送和数字化系统等基础设施支持,以探索即时零售模式。 该项目已2026-11-30
1月26日消息,春节将至,回不回家过年成为萦绕在北漂一族心头的一抹愁思。 根据北京市卫生健康委员会信息,1月25日0时至24时,北京市新增14例本土确诊病例(确诊病例1至12昨日均已通报)和5例无症状2026-11-30

最新评论