Skip to content
Snippets Groups Projects
Commit cffaa182c6c8 authored by DJ Mountney's avatar DJ Mountney
Browse files

Merge branch 'mr-changelog-override' into 'master'

Allow custom MR links for changelog entries

See merge request gitlab-org/omnibus-gitlab!5060
2 merge requests!39Bumped oldstable branch to Heptapod 0.21,!31GitLab 13.10
......@@ -11,3 +11,25 @@
security: Security
performance: Performance
other: Other
template: |
{% if categories %}
{% each categories %}
### {{ title }} ({% if single_change %}1 change{% else %}{{ count }} changes{% end %})
{% each entries %}
- [{{ title }}]({{ commit.reference }})\
{% if author.contributor %} by {{ author.reference }}{% end %}\
{% if commit.trailers.MR %}\
([merge request]({{ commit.trailers.MR }}))\
{% else %}\
{% if merge_request %}\
([merge request]({{ merge_request.reference }}))\
{% end %}\
{% end %}
{% end %}
{% end %}
{% else %}
No changes.
{% end %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment