Skip to content

Commit

Permalink
Merge pull request silverstripe#248 from creative-commoners/pulls/mas…
Browse files Browse the repository at this point in the history
…ter/tln-prefix

ENH Handle TLN commit prefix
  • Loading branch information
GuySartorelli authored Nov 3, 2023
2 parents ac1dc5a + 4e681c0 commit 589aee8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function isDevMode()

public function createTwigEnvironment(): Twig\Environment
{
return new Twig\Environment(new Twig\Loader($this));
return new Twig\Environment(new Twig\Loader($this), ['cache' => false]);
}

/**
Expand Down
3 changes: 3 additions & 0 deletions src/Model/Changelog/ChangelogItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ class ChangelogItem
'Dependencies' => [
'/^(DEP)\b:?/',
],
'Translations' => [
'/^(TLN)\b:?/',
],
'Maintenance' => [
'/^(MNT)\b:?/',
'/\btravis\b/'
Expand Down
1 change: 1 addition & 0 deletions templates/cow/changelog/logs/audit_mode.md.twig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
'Dependencies',
'Maintenance',
'Documentation',
'Translations',
'Merge'
]
-%}
Expand Down
1 change: 1 addition & 0 deletions templates/cow/changelog/logs/by_module.md.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
'API Changes',
'Dependencies',
'Documentation',
'Translations',
'Other changes'
]
-%}
Expand Down
1 change: 1 addition & 0 deletions templates/cow/changelog/logs/plain.md.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
'API Changes',
'Dependencies',
'Documentation',
'Translations',
'Other changes'
]
-%}
Expand Down

0 comments on commit 589aee8

Please sign in to comment.