oneblackbear-obbistrano 1.0.41 → 1.0.42
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 +6 -2
- data/obbistrano.gemspec +1 -1
- metadata +1 -1
data/lib/obbistrano_tasks.rb
CHANGED
@@ -133,12 +133,14 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
133
133
|
begin
|
134
134
|
run "ls #{deploy_to}/plugins/cms/.git/"
|
135
135
|
rescue
|
136
|
+
logger.level = 2
|
136
137
|
logger.info "Initialising Wildfire Folder"
|
137
138
|
run "cd #{deploy_to}/plugins/cms && git init"
|
138
139
|
run "cd #{deploy_to}/plugins/cms && git remote add origin git://github.com/phpwax/wildfire.git"
|
139
140
|
end
|
140
|
-
logger.info "Updating Wildfire Code"
|
141
|
+
logger.info "Updating Wildfire Code from remote"
|
141
142
|
run "cd #{deploy_to}/plugins/cms && git fetch"
|
143
|
+
logger.level = -1
|
142
144
|
begin
|
143
145
|
run "cd #{deploy_to}/plugins/cms && git checkout -b #{cms} origin/#{cms}"
|
144
146
|
rescue
|
@@ -161,12 +163,14 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
161
163
|
begin
|
162
164
|
run "ls #{deploy_to}/wax/.git/"
|
163
165
|
rescue
|
166
|
+
logger.level = 2
|
164
167
|
logger.info "Initialising PHP Wax Folder"
|
165
168
|
run "cd #{deploy_to}/wax && git init"
|
166
169
|
run "cd #{deploy_to}/wax && git remote add origin git://github.com/phpwax/phpwax.git"
|
167
170
|
end
|
168
|
-
logger.info "Updating PHP Wax Code"
|
171
|
+
logger.info "Updating PHP Wax Code from remote"
|
169
172
|
run "cd #{deploy_to}/wax && git fetch"
|
173
|
+
logger.level = -1
|
170
174
|
begin
|
171
175
|
run "cd #{deploy_to}/wax && git checkout -b #{phpwax} origin/#{phpwax}"
|
172
176
|
rescue
|
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.42"
|
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=
|