From 842bc43f7f1cacf54b630e91de32f50456b1bff6 Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Tue, 8 Jan 2019 21:45:38 +0100 Subject: [PATCH] The frameworks list is order dependent. Ref: https://github.com/rails/rails/commit/d507f332a955eed3d3af805a0d417fb56379a6b9 --- tasks/release.rb | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/tasks/release.rb b/tasks/release.rb index 6f0b419849..600e716a8d 100644 --- a/tasks/release.rb +++ b/tasks/release.rb @@ -1,17 +1,18 @@ # frozen_string_literal: true +# Order dependent. E.g. Action Mailbox depends on Active Record so it should be after. FRAMEWORKS = %w( - activejob + activesupport activemodel activerecord - activestorage - activesupport - actioncable - actionmailbox - actionmailer - actionpack - actiontext actionview + actionpack + activejob + actionmailer + actioncable + activestorage + actionmailbox + actiontext railties ) FRAMEWORK_NAMES = Hash.new { |h, k| k.split(/(?<=active|action)/).map(&:capitalize).join(" ") }