You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewException('Failed to update branch ruleset.');
190
+
}
191
+
}
192
+
164
193
/**
165
194
* Gets the current version.
166
195
*/
@@ -338,6 +367,9 @@ try {
338
367
handler: fn () => updateChangelog($version),
339
368
);
340
369
370
+
// Disable protection
371
+
updateBranchProtection(enabled: false);
372
+
341
373
// Push tags
342
374
$console->task(
343
375
label: 'Releasing',
@@ -360,6 +392,9 @@ try {
360
392
],
361
393
);
362
394
395
+
// Re-enable protection
396
+
updateBranchProtection(enabled: true);
397
+
363
398
$console->success(sprintf(
364
399
'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