Page MenuHomePhabricator

D14076.id34019.diff
No OneTemporary

D14076.id34019.diff

diff --git a/src/workflow/ArcanistUpgradeWorkflow.php b/src/workflow/ArcanistUpgradeWorkflow.php
--- a/src/workflow/ArcanistUpgradeWorkflow.php
+++ b/src/workflow/ArcanistUpgradeWorkflow.php
@@ -58,13 +58,15 @@
// Require the library be on master.
$branch_name = $repository->getBranchName();
- if ($branch_name != 'master') {
+ if ($branch_name != 'master' && $branch_name != 'stable') {
throw new ArcanistUsageException(
pht(
- "%s must be on branch '%s' to be automatically upgraded. ".
+ "%s must be on either branch '%s' or '%s' to be automatically ".
+ "upgraded. ".
"This copy of %s (in '%s') is on branch '%s'.",
$lib,
'master',
+ 'stable',
$lib,
$root,
$branch_name));

File Metadata

Mime Type
text/plain
Expires
Mar 22 2025, 4:58 AM (4 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7716445
Default Alt Text
D14076.id34019.diff (847 B)

Event Timeline