blue 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/blue/version.rb +1 -1
- data/lib/capistrano/deploy.rb +1 -1
- data/lib/capistrano/local_config.rb +7 -4
- metadata +1 -1
data/lib/blue/version.rb
CHANGED
data/lib/capistrano/deploy.rb
CHANGED
@@ -41,12 +41,15 @@ Symlinks uploaded local configurations into the release directory.
|
|
41
41
|
run "ls #{latest_release}/#{file} 2> /dev/null || ln -nfs #{shared_path}/#{path}/#{filename} #{latest_release}/#{file}"
|
42
42
|
end
|
43
43
|
end
|
44
|
-
end
|
45
44
|
|
46
|
-
|
47
|
-
|
48
|
-
|
45
|
+
desc "Uplaod and symlink"
|
46
|
+
task :upload_and_symlink do
|
47
|
+
upload
|
48
|
+
symlink
|
49
|
+
end
|
49
50
|
end
|
51
|
+
|
52
|
+
after 'deploy:update_code', 'local_config:upload_and_symlink'
|
50
53
|
end
|
51
54
|
end
|
52
55
|
end
|