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> # &nb快速sp; 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 th De log output verbosity. [possible values: trace, debug, info, warn, error] # --url # Fully qualified URL to the Sentry oc;server. # [defaults to https://sentry.io/] # -V, --version # Print version information. # SUBCOMMANDS:&kenbsp;# bash-hook Prints out a bash script that does error handling. # difutil Locate or analyze debr ug information files. # help Prints this message or the help of the given subcommand(s) # info &nb上手sp; 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 Up Sload build artifacts for react-native projects. # releases Manage releases on Sentry. # repos Maennage repositories on Sentry. # send-event Send a manual event to Sentry. # upload-dif Upload debugging information filtres. # upload-proguard Upload ProGuard mapping files to a project. 配置和认证 配置文件 sentry-cli 工具可以使用名为 .sentryclirc 的配置文件以及环境变量和 .env 文件进行配置。从当前路径向上查找配置文件,并且始终加载 ~/.sentryclirc 中的默认值。您还可以从命令行参数覆盖这些设置。 .sentryclirc [auth] token=your-auth-token [defaults] oy-rg=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/
-
上一篇
-
下一篇
- 最近发表
- 随机阅读
-
- 如何提高PyTorch“炼丹”速度?这位小哥总结了17种方法,可直接上手更改的那种
- Facebook测试消息推送功能,告知用户苹果隐私设置更改
- 标签: GettyImages Shutterstock CMA 图片版权
- 马来西亚芯片突破!SkyeChip发布该国首款边缘AI处理器,摆脱对美依赖迈出关键一步
- 标签: 赛力斯 蓝电科技 赛豆科技 火山引擎
- 大脑飞行?Hinton推特引热议 神经网络是让小鸟飞起来的「羽毛」?
- 冯提莫和周传雄是什么梗
- 标签: VOLANT沃兰特 VE25-100 磊石STONE 红杉中国
- 标签: 东方甄选 董宇辉 孙进 知识带货
- 拍我AI接入谷歌 Nano Banana,开启六天免费创作狂欢
- 云计算开发:Python3-rfind()方法详解
- 基础模型神话破灭?AI行业巨变来袭,"GPT包装工"们正在翻身
- 标签: 洪恩 洪恩AI伙伴 洪恩英语 鲲鹏动画
- 云计算核心技术Docker教程:Docker Hub设置Slack集成
- 云计算开发:Python练习实例-时间函数举例
- 云计算核心技术Docker教程:Docker Hub自动化构建的工作方式
- 腾讯 AI 助力肺癌基因突变预测:准确率高达99%
- AI鐢熸垚鐨勪唬鐮佷綘鏁㈢敤鍚楋紵鏈変汉缁欒蛋绾㈢殑Copilot鍋氫簡涓�€岄�闄╄瘎浼般€�
- 2021年数据分析的行业预测
- AWS 发布 Agentic AI 应用 Quick Suite:一站式连接1000+ 企业应用,彻底变革工作流程
- 搜索
-
- 友情链接