Skip to content

Commit d5bd350

Browse files
authored
Merge pull request #60 from nventive/dev/cama/FixTemplate
Fix commit validation
2 parents e023715 + 7241f65 commit d5bd350

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

build/templates/validate-commits.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ steps:
2424
Write-Host "Commits found: $commitCount"
2525
2626
# Regex pattern for Conventional Commits
27-
$pattern = '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\.\-]+\))?(!)?: ([\w ])+([\s\S]*)|^(Merged PR \d+: .+)|^(Merge pull request #/d+ from .+)'
27+
$pattern = '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\.\-]+\))?(!)?: ([\w ])+([\s\S]*)|^(Merged PR \d+: .+)|^(Merge pull request #\d+ from .+)|^(Merge branch .+)'
2828
Write-Host "Regular Expression: $pattern"
2929
3030
# Validate each commit message

doc/Localization.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ String myString = local.myString;
1818
- The generated files are generated at [lib/l10n/gen_l10n](../src/app/lib/l10n/gen_l10n/) instead of the default location due to problems with the pipeline and artificial packages.
1919

2020
> 💡 Please note that to be able to access the strings, you need to run `flutter pub get` to generate them.
21+
22+
- After running the app for the first time, localization files should be created automatically, if not it might be necessary to run the command `flutter gen-l10n` to generate the localization files.

src/cli/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55

66
Prefix your items with `(Template)` if the change is about the template and not the resulting application.
77

8+
## 0.24.4
9+
- Fix commit validation after a merge.
10+
- Update localization documentation.
11+
812
## 0.24.3
913
- Update CLI documentation.
1014

0 commit comments

Comments
 (0)