Page MenuHomePhabricator

D14076.id34018.diff
No OneTemporary

D14076.id34018.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,14 @@
// 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. ".
- "This copy of %s (in '%s') is on branch '%s'.",
+ "This copy of %s (in '%s') is on either branch '%s' or '%s'.",
$lib,
'master',
+ 'stable',
$lib,
$root,
$branch_name));

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 19, 3:14 AM (5 d, 20 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7710739
Default Alt Text
D14076.id34018.diff (818 B)

Event Timeline