Skip to content

Commit

Permalink
test: 测试正则表达式
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired committed Nov 15, 2024
1 parent 931ad80 commit aa17f2f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,30 +92,30 @@ changelog:
groups:
# feat(UI): 新增用户登录界面、新增: 实现用户认证功能。
- title: "New Features" # “新功能”
regexp: '^.*?(feat|功能|新增|feature)(\(.+\))??!?[:\s]?.+$'
regexp: '^.*?(feat|功能|新增|feature)(\(.+\))??!?[-:\s].+$'
order: 100 # 排序优先级


# fix: 修复UI组件加载延迟问题
- title: "Bug fixes" # “Bug 修复”
regexp: '^.*?(fix|修复|bug|错误|bugfix)(\(.+\))??!?[:\s]?.+$'
regexp: '^.*?(fix|修复|bug|错误|bugfix)(\(.+\))??!?[-:\s].+$'
order: 200

# sec: 修复 XSS 漏洞,增强安全策略。
- title: "Security updates" # “安全更新”
regexp: '^.*?(sec|安全|漏洞|security)(\(.+\))??!?[:\s]?.+$'
regexp: '^.*?(sec|安全|漏洞|security)(\(.+\))??!?[-:\s].+$'
order: 300


# deps: 更新依赖库版本,提升稳定性。
- title: "Dependency updates" # “依赖更新”
regexp: '^.*?(deps|依赖|dependency)(\(.+\))??!?[:\s]?.+$'
regexp: '^.*?(deps|依赖|dependency)(\(.+\))??!?[-:\s].+$'
order: 400


# docs: 更新API使用说明,添加示例代码。
- title: "Documentation updates" # “文档更新”
regexp: '^.*?(docs?|文档|说明|documentation|注释)(\(.+\))??!?[:\s]?.+$'
regexp: '^.*?(docs?|文档|说明|documentation|注释)(\(.+\))??!?[-:\s].+$'
order: 500


Expand All @@ -127,25 +127,25 @@ changelog:

# optimization: 优化用户登录流程,减少加载时间。
- title: "Code Optimization" # “代码优化”
regexp: '^.*?(optimization|优化|性能|代码|performance|refactor)(\(.+\))??!?[:\s]?.+$'
regexp: '^.*?(optimization|优化|性能|代码|performance|refactor)(\(.+\))??!?[-:\s].+$'
order: 700


# config: 更新环境变量配置文件。
- title: "Config updates" # “配置更新”
regexp: '^.*?(config|配置|configuration)(\(.+\))??!?[:\s]?.+$'
regexp: '^.*?(config|配置|configuration)(\(.+\))??!?[-:\s].+$'
order: 800


# ci(build): 添加持续集成任务,自动构建和发布。
- title: "Build process updates" # “构建过程更新”
regexp: '^.*?(build|ci|构建|持续集成)(\(.+\))??!?[:\s]?.+$'
regexp: '^.*?(build|ci|构建|持续集成)(\(.+\))??!?[-:\s].+$'
order: 900


# test: 增加单元测试用例,覆盖率提升到 85%。
- title: "Test-related changes" # “测试相关变更”
regexp: '^.*?(test|测试|单元测试|集成测试)(\(.+\))??!?[:\s]?.+$'
regexp: '^.*?(test|测试|单元测试|集成测试)(\(.+\))??!?[-:\s].+$'
order: 950


Expand Down

0 comments on commit aa17f2f

Please sign in to comment.