Update announcement.gemspec

This commit is contained in:
chiu 2020-02-14 16:54:35 +08:00
parent 27e3a1408e
commit d8b1f3b904
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ if old_gemfile_text != new_gemfile_text
else else
mode = 'production' mode = 'production'
end end
if Dir[ENV['PWD']+'/Gemfile.lock'].blank? files = Dir[ENV['PWD']+'/Gemfile.lock']
if files.blank?
command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n bundle update \r\n" command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n bundle update \r\n"
else else
command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update \r\n" command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update \r\n"