obbistrano 1.1.111 → 1.1.112

Sign up to get free protection for your applications and to get access to all the features.
@@ -139,13 +139,13 @@ Capistrano::Configuration.instance(:must_exist).load do
139
139
  if defined? "#{commit}"
140
140
  run "cd #{deploy_to} && git checkout #{commit} && git submodule update --init --recursive"
141
141
  else
142
+ logger.level = -1
142
143
  begin
143
144
  run "cd #{deploy_to} && git show-branch #{branch} && git checkout #{branch} ; git reset --hard origin/#{branch} && git submodule update --init --recursive"
144
145
  rescue
145
- logger.level = -1
146
146
  run "cd #{deploy_to} && git checkout -b #{branch} origin/#{branch} ; git submodule update --init --recursive"
147
- logger.level = 0
148
147
  end
148
+ logger.level = 0
149
149
  end
150
150
  puts_ok
151
151
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.1.111"
5
+ s.version = "1.1.112"
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=
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 111
9
- version: 1.1.111
8
+ - 112
9
+ version: 1.1.112
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ross Riley