mirror of
https://scm.cms.hu-berlin.de/methodenlabor/doc_documentation.git
synced 2025-06-08 01:49:07 +00:00
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
---
|
|
# Settings for generating changelogs using the GitLab API. See
|
|
# https://docs.gitlab.com/ee/api/repositories.html#generate-changelog-data for
|
|
# more information.
|
|
categories:
|
|
added: Added
|
|
fixed: Fixed
|
|
changed: Changed
|
|
deprecated: Deprecated
|
|
removed: Removed
|
|
security: Security
|
|
performance: Performance
|
|
other: Other
|
|
include_groups:
|
|
- Methodenlabor
|
|
template: |
|
|
{% if categories %}
|
|
{% each categories %}
|
|
### {{ title }} ({% if single_change %}1 change{% else %}{{ count }} changes{% end %})
|
|
|
|
{% each entries %}
|
|
- [{{ title }}]({{ commit.web_url }})\
|
|
{% if author.credit %} by {{ author.reference }}{% end %}\
|
|
{% if commit.trailers.MR %}\
|
|
([merge request]({{ commit.trailers.MR }}))\
|
|
{% else %}\
|
|
{% if merge_request %}\
|
|
([merge request]({{ merge_request.web_url }}))\
|
|
{% end %}\
|
|
{% end %}\
|
|
|
|
{% end %}
|
|
|
|
{% end %}
|
|
{% else %}
|
|
No changes.
|
|
{% end %}
|
|
# The tag format for gitlab-org/gitlab is vX.Y.Z(-rcX). Releases are always without trailing -...
|
|
tag_regex: '^v(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)$'
|