Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Introduce tag_regex option with smart default #692

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on May 2, 2023

  1. refactor: Make tag_format properly default to $version

    We've been using this default already in `normalize_tag`,
    but setting this value in the settings dict is cleaner.
    robertschweizer committed May 2, 2023
    Configuration menu
    Copy the full SHA
    c26e5bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0aa98e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10c7a9a View commit details
    Browse the repository at this point in the history
  4. isort fix

    robertschweizer committed May 2, 2023
    Configuration menu
    Copy the full SHA
    c0ff3af View commit details
    Browse the repository at this point in the history
  5. test: Clean up path fixtures

    config_path and changelog_path rely on the modified CWD provided by
    tmp_commitizen_project, so they should use this fixture.
    robertschweizer committed May 2, 2023
    Configuration menu
    Copy the full SHA
    c780f4e View commit details
    Browse the repository at this point in the history
  6. feat: Introduce tag_regex option with smart default

    Closes commitizen-tools#519
    
    CLI flag name: --tag-regex
    
    Heavily inspired by
    commitizen-tools#537, but extends
    it with a smart default value to exclude non-release tags. This was
    suggested in
    commitizen-tools#519 (comment)
    robertschweizer committed May 2, 2023
    Configuration menu
    Copy the full SHA
    e58e56f View commit details
    Browse the repository at this point in the history