Skip to content

Commit ec392cd

Browse files
committed
wip
1 parent 09b779b commit ec392cd

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

bin/release

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,10 @@ try {
391391
);
392392

393393
// Disable protection
394-
updateBranchProtection(enabled: false);
394+
$console->task(
395+
label: 'Disabling branch protection',
396+
handler: fn () => updateBranchProtection(enabled: false),
397+
);
395398

396399
// Push tags
397400
$console->task(
@@ -415,7 +418,12 @@ try {
415418
},
416419
);
417420

418-
updateBranchProtection(enabled: true);
421+
// Enable branch protection
422+
$console->task(
423+
label: 'Enabling branch protection',
424+
handler: fn () => updateBranchProtection(enabled: true),
425+
);
426+
419427
triggerSubsplit();
420428

421429
$console->success(sprintf(

0 commit comments

Comments
 (0)