aboutsummaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-01-30 20:51:18 -0500
committerJon Moss <me@jonathanmoss.me>2016-01-30 20:51:18 -0500
commitcb040aa0e54b8659c895cff3bf7302716f2b81ed (patch)
treec7403e0cd21e0ae05142079b65978f9889190d65 /tasks
parent09a706065952d58d515420b19a55df619eb7f53d (diff)
downloadrails-cb040aa0e54b8659c895cff3bf7302716f2b81ed.tar.gz
rails-cb040aa0e54b8659c895cff3bf7302716f2b81ed.tar.bz2
rails-cb040aa0e54b8659c895cff3bf7302716f2b81ed.zip
Add Action Cable asset building as release step
Diffstat (limited to 'tasks')
-rw-r--r--tasks/release.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks/release.rb b/tasks/release.rb
index c7704aa865..25ba91cb49 100644
--- a/tasks/release.rb
+++ b/tasks/release.rb
@@ -48,6 +48,7 @@ directory "pkg"
task gem => %w(update_versions pkg) do
cmd = ""
cmd << "cd #{framework} && " unless framework == "rails"
+ cmd << "bundle exec rake assets:compile && " if framework == "actioncable"
cmd << "gem build #{gemspec} && mv #{framework}-#{version}.gem #{root}/pkg/"
sh cmd
end