Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15403415
D14076.id34018.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
818 B
Referenced Files
None
Subscribers
None
D14076.id34018.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D14076: Allow upgrading in branch `stable`
Attached
Detach File
Event Timeline
Log In to Comment