Skip to content

Commit 2bfcde9

Browse files
authored
Allow release branches (#4008)
1 parent ccbaa38 commit 2bfcde9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

yarn.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function checkBranchPrefix() {
5151
encoding: 'utf8'
5252
}).trim();
5353

54-
const hasValidPrefix = getBranchPrefixes().some(prefix => currentBranch.startsWith(prefix)) || currentBranch === 'release';
54+
const hasValidPrefix = getBranchPrefixes().some(prefix => currentBranch.startsWith(prefix)) || currentBranch.startsWith('release');
5555

5656
if (!hasValidPrefix) {
5757
logError(`Branch "${currentBranch}" does not start with a valid prefix.`);

0 commit comments

Comments
 (0)