oneblackbear-obbistrano 1.0.71 → 1.0.72
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 +1 -1
- data/obbistrano.gemspec +1 -1
- metadata +1 -1
data/lib/obbistrano_tasks.rb
CHANGED
|
@@ -148,7 +148,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
148
148
|
rescue
|
|
149
149
|
run "cd #{deploy_to} && git pull origin #{branch}"
|
|
150
150
|
run "cd #{deploy_to} && git checkout #{branch}"
|
|
151
|
-
run "cd #{deploy_to} && git checkout #{commit}" if "#{commit}"
|
|
151
|
+
run "cd #{deploy_to} && git checkout #{commit}" if defined? "#{commit}"
|
|
152
152
|
end
|
|
153
153
|
|
|
154
154
|
logger.info "Application has been updated on branch #{branch}"
|
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.72"
|
|
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=
|