首页/ AI 技能 / @skilllib/skill-2117939930272411626
Skill站外收录 @skilllib/skill-2117939930272411626

sentry-release-management

支持版本发布管理与提交记录关联,可自动同步代码变更、上传源码映射文件并完成发布流程,适用于前端监控环境下的版本追踪与错误定位,空间隔离部署时需确保构建时注入正确的组织与项目配置。

0.0 (0) 16 次安装 原作者 编程导航
收录于 2026-01-22
开发运维 AI 技能

Skills.MD

# Sentry Release Management ## Prerequisites - Sentry CLI installed (`npm install -g @sentry/cli`) - `SENTRY_AUTH_TOKEN` environment variable set - `SENTRY_ORG` and `SENTRY_PROJECT` configured - Source maps available in build output ## Instructions 1. Create release using git SHA, semantic version, or package.json version 2. Associate commits with sentry-cli releases set-commits --auto 3. Upload source maps from build directory with URL prefix if needed 4. Finalize release to mark it complete 5. Configure SDK release option to match CLI release version 6. Set up Webpack DefinePlugin or environment variable for build-time injection 7. Use release management API to list, view, or delete releases 8. Connect GitHub/GitLab integration for automatic commit linking 9. Create release script to automate the full workflow 10. Implement source map cleanup for old releases to manage storage ## Output - Release created with version identifier - Commits associated with release - Source maps uploaded - Release finalized and ready ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Sentry Releases](https://docs.sentry.io/product/releases/) - [Sentry CLI Releases](https://docs.sentry.io/product/cli/releases/)

评论 0

还没有评论,来抢沙发。