Skip to content

Commit 3225a95

Browse files
committed
chore: update dartsdk minimum to latest version 3.7.2 (#44)
Signed-off-by: Jeremy Andrews <[email protected]>
1 parent 0899afc commit 3225a95

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

local_dev_tools/validate_branch.dart

+14
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ void main(List<String> args) {
2121
);
2222
=======
2323
final validBranches = RegExp(r'^(qa|beta|main)$');
24+
<<<<<<< HEAD
2425
<<<<<<< HEAD
2526
final validFeatureBranch =
2627
RegExp(r'^(feat|fix|hotfix|chore|test|refactor|release)/[a-z0-9_-]+$');
@@ -30,13 +31,19 @@ void main(List<String> args) {
3031
r'^(feat|fix|hotfix|chore|test|refactor|release)/[a-z0-9_-]+$',
3132
);
3233
>>>>>>> 5eb4a58 (chore: update validation workflow)
34+
=======
35+
final validFeatureBranch = RegExp(
36+
r'^(feat|fix|hotfix|chore|test|refactor|release)/[a-z0-9_-]+$',
37+
);
38+
>>>>>>> 9729726 (chore: update dartsdk minimum to latest version 3.7.2 (#44))
3339

3440
if (validBranches.hasMatch(branchName) ||
3541
validFeatureBranch.hasMatch(branchName)) {
3642
print('✅ Branch name is valid.');
3743
} else {
3844
print(
3945
<<<<<<< HEAD
46+
<<<<<<< HEAD
4047
<<<<<<< HEAD
4148
'❌ Branch name does not follow the required convention: <type>/<branch-name>',
4249
);
@@ -55,6 +62,13 @@ void main(List<String> args) {
5562
'Valid types: feat, fix, hotfix, chore, test, refactor, release, development, qa, main',
5663
);
5764
>>>>>>> 5eb4a58 (chore: update validation workflow)
65+
=======
66+
'❌ Branch name does not follow the required convention: <type>/<branch-name>',
67+
);
68+
print(
69+
'Valid types: feat, fix, hotfix, chore, test, refactor, release, development, qa, main',
70+
);
71+
>>>>>>> 9729726 (chore: update dartsdk minimum to latest version 3.7.2 (#44))
5872
exit(1);
5973
}
6074
}

0 commit comments

Comments
 (0)