crazycode-cap-recipes 0.4.11 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/crazycode-cap-recipes.gemspec +1 -1
- data/lib/cap_recipes/tasks/gitdeploy/setup.rb +3 -2
- metadata +2 -2
data/VERSION.yml
CHANGED
|
@@ -24,7 +24,8 @@ Capistrano::Configuration.instance(true).load do |configuration|
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
_cset :war_config, Array.new
|
|
27
|
-
|
|
27
|
+
_cset :war_name, ""
|
|
28
|
+
_cset :war_path, "not set.war"
|
|
28
29
|
|
|
29
30
|
set :local_git_dir do
|
|
30
31
|
"/tmp/localgit_#{application}"
|
|
@@ -64,7 +65,7 @@ Capistrano::Configuration.instance(true).load do |configuration|
|
|
|
64
65
|
system "cd #{local_gitrepo}; git checkout #{branch}; git fetch; git merge origin/#{branch};"
|
|
65
66
|
|
|
66
67
|
|
|
67
|
-
|
|
68
|
+
unless war_name.empty?
|
|
68
69
|
puts "name=#{war_name}, war=#{war_path}"
|
|
69
70
|
system update_repository_local_command(war_name, war_path)
|
|
70
71
|
else
|