sumodev_deploy 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sumodev_deploy.rb +1 -1
- data/sumodev_deploy.gemspec +1 -1
- metadata +1 -1
data/lib/sumodev_deploy.rb
CHANGED
@@ -23,7 +23,7 @@ configuration.load do
|
|
23
23
|
_cset(:app_path) { "apps/#{client}/#{project}" }
|
24
24
|
_cset(:shared_files_path) { "#{shared_path}/files/"}
|
25
25
|
_cset(:document_root) { "#{homedir}#{client}/#{project}" }
|
26
|
-
_cset(:keep_releases) { fetch(:stage, 'production').
|
26
|
+
_cset(:keep_releases) { fetch(:stage, 'production').to_sym == :staging ? 1 : 3 }
|
27
27
|
|
28
28
|
set(:application) { project }
|
29
29
|
set(:deploy_to) { "#{homedir}#{app_path}"}
|
data/sumodev_deploy.gemspec
CHANGED