Skip to content

Commit ff766a5

Browse files
authored
chore: fix release script (#1565)
1 parent b9b9880 commit ff766a5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bin/release

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function triggerSubsplit(): void
209209
);
210210

211211
if (! $response->status->isSuccessful()) {
212-
throw new Exception('Failed to update branch ruleset.');
212+
throw new Exception('Failed to trigger subsplit.');
213213
}
214214
}
215215

@@ -425,7 +425,10 @@ try {
425425
handler: fn () => updateBranchProtection(enabled: true),
426426
);
427427

428-
triggerSubsplit();
428+
$console->task(
429+
label: 'Trigger subsplit',
430+
handler: fn () => triggerSubsplit(),
431+
);
429432

430433
$console->success(sprintf(
431434
'Released <em>%1$s</em>. The <href="https://github.com/tempestphp/tempest-framework/releases/tag/%1$s">GitHub release</href> will be created automatically in a few seconds.',

0 commit comments

Comments
 (0)