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&nbs分钟p;`--help` on the subcommands # to learn more about them. # USAGE: # sentry-cli # OPTIONS: # --api-key <API_KEY> # &nbs快速p; 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 Dthe log output verbosity. [possible values: trace, debug, info, warn, error] # --url # Fully qualified URL to the Sentry&ocnbsp;server. # [defaults to https://sentry.io/] # -V, --version # Print version information. # SUBCOMMANkeDS: # bash-hook Prints out a bash script that does error handling. # difutil Locate or analyze debur g information files. # help Prints this message or the help of the given subcommand(s) # info &nbs上手p; Print information about the Sentry server. # issues Manage issues in Sentry. # login &新版nbsp; Authenticate with the Sentry server. # projects Manage projects on Sentry. # react-native Uplo Sad build artifacts for react-native projects. # releases Manage releases on Sentry. # repos Menanage repositories on Sentry. # send-event Send a manual event to Sentry. # upload-dif Upload debugging information filetrs. # upload-proguard Upload ProGuard mapping files to a project. 配置和认证 配置文件 sentry-cli 工具可以使用名为 .sentryclirc 的配置文件以及环境变量和 .env 文件进行配置。从当前路径向上查找配置文件,并且始终加载 ~/.sentryclirc 中的默认值。您还可以从命令行参数覆盖这些设置。 .sentryclirc [auth] token=your-auth-token [defaults] y-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/
- 最近发表
- 随机阅读
-
- 浜戝畨鍏ㄦ棩鎶�210728锛欼BM楂樺彲鐢�(HA)鍜岀伨澶�(DR)瑙e喅鏂规�鍙戠幇瀹夊叏缁曡繃婕忔礊,闇€瑕佸敖蹇�崌绾�
- 字节跳动新举措!推出豆包股激励计划,吸引大模型人才
- 标签: 诺诚健华 宜诺凯 奥布替尼 BTK抑制剂
- 大幅降价和裁员,阿里云走到岔路口
- 自动化工作流革命:Pokee AI发布“一句话”智能代理,零代码配置
- 教机器人捏橡皮泥?MIT、IBM, UCSD等联合发布软体操作数据集
- 标签: 安踏 FILA DESCENTE KOLONSPORT
- 苹果公司拟与高盛合作推出Apple Pay分期付款服务
- 谷歌母公司去年四季度营收近570亿美元 云计算贡献38亿美元
- 标签: 哈啰租电动车 3·15晚会 电动自行车安全技术规范 哈啰普惠科技 3152026
- OpenAI宣布12月起向成年用户开放成人内容:配套年龄验证机制同步上线
- 标签: 星海图 具身智能 蓝思科技 华登科技
- 标签: 华为擎云 健康中国2030 慢性病管理 主动健康
- 上海成立量子人工智能联合体
- 标签: 安克创新
- 微软将在PC及iOS端测试Xbox云游戏服务
- 八大关枫叶在哪条路
- 京东云发布助力品牌商数智化升级报告
- kimi-k2-turbo-preview模型输出速度已提升至每秒 60 Tokens
- 2021年美国500强中最赚钱的50家公司:苹果第一,微软第二
- 搜索
-
- 友情链接