grafatui 0.1.2

A Grafana-like TUI for Prometheus
# Configuration for release-plz
# https://release-plz.ieni.dev/docs/config

[workspace]
# Repository URL for linking commits/issues
repo_url = "https://github.com/fedexist/grafatui"
# Create GitHub releases automatically
git_release_enable = true
# Prefix for release PR branches
pr_branch_prefix = "release-plz-"
# Don't publish to crates.io automatically (require manual trigger)
publish = false
# Enable changelog updates
changelog_update = true

[changelog]
# changelog header
header = """
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
"""

# template for the changelog body
# https://keats.github.io/tera/docs/#introduction
body = """
{% if version %}\
    ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
    ## [Unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
    ### {{ group | striptags | trim | upper_first }}
    {% for commit in commits %}
        - {% if commit.scope %}**{{ commit.scope }}:** {% endif %}\
            {% if commit.breaking %}[**breaking**] {% endif %}\
            {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/fedexist/grafatui/commit/{{ commit.id }}))\
    {% endfor %}
{% endfor %}\n
"""

# remove the leading and trailing whitespace from the template
trim = true

# regex for matching git tags
tag_pattern = "v[0-9].*"

# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"

# regex for parsing and grouping commits
commit_parsers = [
  { message = "^feat", group = "<!-- 0 -->โ›ฐ๏ธ  Features" },
  { message = "^fix", group = "<!-- 1 -->๐Ÿ› Bug Fixes" },
  { message = "^doc", group = "<!-- 2 -->๐Ÿ“š Documentation" },
  { message = "^perf", group = "<!-- 3 -->โšก Performance" },
  { message = "^refactor", group = "<!-- 4 -->๐Ÿšœ Refactor" },
  { message = "^style", group = "<!-- 5 -->๐ŸŽจ Styling" },
  { message = "^test", group = "<!-- 6 -->๐Ÿงช Testing" },
  { message = "^chore\\(release\\): prepare for", skip = true },
  { message = "^chore\\(deps.*\\)", skip = true },
  { message = "^chore\\(pr\\)", skip = true },
  { message = "^chore\\(pull\\)", skip = true },
  { message = "^chore|^ci", group = "<!-- 7 -->โš™๏ธ Miscellaneous Tasks" },
  { body = ".*security", group = "<!-- 8 -->๐Ÿ›ก๏ธ Security" },
  { message = "^revert", group = "<!-- 9 -->โ—€๏ธ Revert" },
]

protect_breaking_commits = false

# Package-specific settings
[[package]]
name = "grafatui"
# Changelog path
changelog_path = "CHANGELOG.md"