release-drafter.ymlโข3.43 kB
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
categories:
  - title: '๐ Features'
    labels:
      - 'feature'
      - 'enhancement'
      - 'minor'
  - title: '๐ Bug Fixes'
    labels:
      - 'fix'
      - 'bugfix'
      - 'bug'
      - 'patch'
  - title: '๐งช Tests'
    labels:
      - 'test'
      - 'tests'
  - title: '๐ Documentation'
    labels:
      - 'documentation'
      - 'docs'
  - title: '๐ง Maintenance'
    labels:
      - 'chore'
      - 'maintenance'
      - 'refactor'
      - 'dependencies'
  - title: '๐ฅ Breaking Changes'
    labels:
      - 'breaking'
      - 'breaking-change'
      - 'major'
  - title: '๐๏ธ Architecture'
    labels:
      - 'architecture'
      - 'adr'
  - title: '๐ Smart Code Linking'
    labels:
      - 'smart-code-linking'
      - 'code-linking'
  - title: '๐ก๏ธ Security'
    labels:
      - 'security'
      - 'vulnerability'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&'
version-resolver:
  major:
    labels:
      - 'major'
      - 'breaking'
      - 'breaking-change'
  minor:
    labels:
      - 'minor'
      - 'feature'
      - 'enhancement'
  patch:
    labels:
      - 'patch'
      - 'fix'
      - 'bugfix'
      - 'bug'
      - 'chore'
      - 'maintenance'
      - 'documentation'
      - 'test'
      - 'tests'
      - 'refactor'
      - 'dependencies'
  default: patch
autolabeler:
  - label: 'breaking'
    title:
      - '/(?i)breaking/gi'
    body:
      - '/(?i)breaking change/gi'
  - label: 'feature'
    title:
      - '/(?i)feat/gi'
      - '/(?i)feature/gi'
    files:
      - 'src/tools/*'
      - 'src/utils/*'
  - label: 'bug'
    title:
      - '/(?i)fix/gi'
      - '/(?i)bug/gi'
  - label: 'test'
    title:
      - '/(?i)test/gi'
    files:
      - 'tests/**/*'
      - '**/*.test.ts'
      - '**/*.spec.ts'
  - label: 'documentation'
    title:
      - '/(?i)docs/gi'
      - '/(?i)documentation/gi'
    files:
      - 'docs/**/*'
      - 'README.md'
      - '*.md'
  - label: 'maintenance'
    title:
      - '/(?i)chore/gi'
      - '/(?i)maintenance/gi'
      - '/(?i)refactor/gi'
  - label: 'dependencies'
    title:
      - '/(?i)bump/gi'
      - '/(?i)update.*dependencies/gi'
    files:
      - 'package*.json'
      - 'yarn.lock'
  - label: 'smart-code-linking'
    title:
      - '/(?i)smart.*code.*linking/gi'
      - '/(?i)code.*linking/gi'
    files:
      - 'src/utils/file-system.ts'
      - 'src/utils/find-related-code.ts'
      - 'tests/**/*smart-code-linking*'
  - label: 'architecture'
    title:
      - '/(?i)adr/gi'
      - '/(?i)architecture/gi'
    files:
      - 'docs/adrs/**/*'
      - 'src/tools/*adr*'
template: |
  ## ๐ What's Changed
  $CHANGES
  ## ๐ Release Statistics
  - **Total Changes**: $CHANGE_COUNT changes
  - **Contributors**: Thanks to all contributors who made this release possible! ๐
  ## ๐ Smart Code Linking
  This release includes enhancements to our Smart Code Linking feature, which uses AI-powered analysis to discover code files related to architectural decisions.
  ## ๐ Installation
  ```bash
  npm install -g mcp-adr-analysis-server@$RESOLVED_VERSION
  ```
  ## ๐ Full Changelog
  **Full Changelog**: https://github.com/tosin2013/mcp-adr-analysis-server/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
exclude-labels:
  - 'skip-changelog'
  - 'no-release'
include-pre-releases: false