oneblackbear-obbistrano 1.0.17 → 1.0.18
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/lib/obbistrano_tasks.rb +12 -6
- data/obbistrano.gemspec +1 -1
- metadata +1 -1
data/lib/obbistrano_tasks.rb
CHANGED
@@ -94,7 +94,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
94
94
|
end
|
95
95
|
|
96
96
|
task :git_deploy do
|
97
|
-
logger.level =
|
97
|
+
logger.level = -1
|
98
98
|
begin
|
99
99
|
run "ls #{deploy_to}/.git"
|
100
100
|
rescue
|
@@ -105,8 +105,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
105
105
|
begin
|
106
106
|
run "cd #{deploy_to} && git checkout -b #{branch} origin/#{branch}"
|
107
107
|
rescue
|
108
|
-
"cd #{deploy_to} && git checkout #{branch}"
|
108
|
+
run "cd #{deploy_to} && git checkout #{branch}"
|
109
109
|
end
|
110
|
+
logger.level = 3
|
111
|
+
logger.info "Application has been updated on branch #{branch}"
|
110
112
|
end
|
111
113
|
|
112
114
|
task :svn_deploy do
|
@@ -114,7 +116,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
114
116
|
end
|
115
117
|
|
116
118
|
task :cms_deploy do
|
117
|
-
logger.level =
|
119
|
+
logger.level = -1
|
118
120
|
begin
|
119
121
|
run "ls plugins/cms/.git"
|
120
122
|
rescue
|
@@ -126,12 +128,14 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
126
128
|
begin
|
127
129
|
run "cd plugins/cms && git checkout -b #{cms} origin/#{cms}"
|
128
130
|
rescue
|
129
|
-
"cd plugins/cms && git checkout #{cms}"
|
131
|
+
run "cd plugins/cms && git checkout #{cms}"
|
130
132
|
end
|
133
|
+
logger.level = 3
|
134
|
+
logger.info "Wildfire CMS has been updated on branch #{cms}"
|
131
135
|
end
|
132
136
|
|
133
137
|
task :php_wax_deploy do
|
134
|
-
logger.level =
|
138
|
+
logger.level = -1
|
135
139
|
begin
|
136
140
|
run "ls wax/.git"
|
137
141
|
rescue
|
@@ -143,8 +147,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
143
147
|
begin
|
144
148
|
run "cd wax && git checkout -b #{phpwax} origin/#{phpwax}"
|
145
149
|
rescue
|
146
|
-
"cd wax && git checkout #{phpwax}"
|
150
|
+
run "cd wax && git checkout #{phpwax}"
|
147
151
|
end
|
152
|
+
logger.level = 3
|
153
|
+
logger.info "PHP Wax has been updated on branch #{phpwax}"
|
148
154
|
end
|
149
155
|
|
150
156
|
####### ##############
|
data/obbistrano.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{obbistrano}
|
5
|
-
s.version = "1.0.
|
5
|
+
s.version = "1.0.18"
|
6
6
|
s.authors = ["Ross Riley", "One Black Bear"]
|
7
7
|
s.date = Time.now
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|