harbr 0.0.104 → 0.0.106

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/harbr +1 -4
  3. data/lib/harbr/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb155f1e7d236670709184451785ca839997834b0686062645549e0987298b0d
4
- data.tar.gz: cb6e92c7f4c13f2d58f2d953dea91bd3cf93f1ee27f14dd37c2bfff99b8d60ce
3
+ metadata.gz: 050c3c42cf01df78606768c019518d3b17a9f0347030a4e61e27223b83a81128
4
+ data.tar.gz: 76b0c515f7776335a23acb59aaa5f4d59a69110b2e1b852107ae0e0dd234dfdf
5
5
  SHA512:
6
- metadata.gz: 5da020b844594b095e38199b65d3a986d5340a869a812dfd2ed164070f211c3d09fbdaf031815e426fe851dbc22e26541c8b96cd3c39296b080d0b93ec9cd18a
7
- data.tar.gz: db6929b88e3e44742cc62c403b56a689829a0899dd6dffdaa50eeac347b0a623d0ae572fe79bf205f823b2b901416e76d4e857b5183b73e5382602f22496ebe5
6
+ metadata.gz: ab9196d10b9f7ce9340237f533a186d5eb3a0f7e63fbb8e67a23a0d9897ad0863ec9083f964fe69f77a313808a8144f844cb3bd5d22addf05d8bdf0f56b7c4eb
7
+ data.tar.gz: 7c0364fbf68e37ae75d09af70dcd0db6e61a2b6ae9189c5837f2eedfa9da3544d5d0024985f86a6366779c88dbd8d1d2f332055c8b93ca9c2bc7efe40ec46166
data/exe/harbr CHANGED
@@ -172,11 +172,8 @@ class HarbrCLI < Thor
172
172
  desc "deploy", "deploy a container to production"
173
173
  def deploy(name)
174
174
  Dir.chdir("/var/harbr/containers/#{name}/") do
175
- `cp -r current current.bak`
176
- `cp -r next next.bak`
175
+ `mv current rollback`
177
176
  `mv next current`
178
- `mv current.bak rollback`
179
- `mv next.bak next`
180
177
  puts `sv restart #{name}`
181
178
  end
182
179
 
data/lib/harbr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Harbr
4
- VERSION = "0.0.104"
4
+ VERSION = "0.0.106"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.104
4
+ version: 0.0.106
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke