alpha_omega 0.0.217 → 0.0.219
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/alpha_omega/deploy.rb +14 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.219
|
data/lib/alpha_omega/deploy.rb
CHANGED
@@ -386,12 +386,16 @@ Capistrano::Configuration.instance(:must_exist).load do |config|
|
|
386
386
|
task :build do
|
387
387
|
end
|
388
388
|
|
389
|
+
after "deploy:update_code", "deploy:build"
|
390
|
+
|
389
391
|
desc <<-DESC
|
390
392
|
Distribute binaries built in deploy:build.
|
391
393
|
DESC
|
392
394
|
task :dist do
|
393
395
|
end
|
394
396
|
|
397
|
+
after "deploy:build", "deploy:dist"
|
398
|
+
|
395
399
|
desc <<-DESC
|
396
400
|
Checkpoint for various language bundlers
|
397
401
|
DESC
|
@@ -643,6 +647,16 @@ Capistrano::Configuration.instance(:must_exist).load do |config|
|
|
643
647
|
|
644
648
|
after "deploy:bundle", "node:bundle"
|
645
649
|
|
650
|
+
namespace :assets do
|
651
|
+
task :build do
|
652
|
+
unless deploy_path_name == migrate_path_name
|
653
|
+
run "cd #{deploy_release} && bin/bundle-assets"
|
654
|
+
end
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
after "deploy:build", "assets:build"
|
659
|
+
|
646
660
|
on :exit do
|
647
661
|
unless local_only
|
648
662
|
logger.important "uploading deploy logs: #{log_path}/#{application}-#{ENV["AO_USER"]}.log-#{Time.now.strftime('%Y%m%d-%H%M')}"
|