stack_car 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a4a19481f704f1a40f92ca1b5cc0a6ddc43894c
4
- data.tar.gz: 17075ff12216327ab447110ca5b97a612a75fbe4
3
+ metadata.gz: c211b3d1c2030db2a5e70cb4bf82e735d161ff30
4
+ data.tar.gz: 2d66451f16f94290bdc5cc85af8ed13893f1acde
5
5
  SHA512:
6
- metadata.gz: 8b1a2102d81567db1df3c17a35b68fa9f15e76cee641c971ba76a041469a05b3733e7c54c31faf36432c6367ffe82a887a462cf52f40031590ecb8f9b8b82d7c
7
- data.tar.gz: c49be685b989964efa6e7469a98f9f31e6c1932e1d77a6a3869f9d84c0264b739b5d96c8d88bf4da367ee6f572a8a6ec2441644a599d27e6a36e380ed0788c42
6
+ metadata.gz: 7e7deb0336394994473ee04230589480b72fb43983cf6bba5bf741475deb8f7c574b0584feba769b28fff08cd3d356095357013541cc37977f300b38aef5b2da
7
+ data.tar.gz: 21a74ff7c055eab71c3a4c43f260830756b2adfe72f23ff3d335788384d3575587b59fb72e490ddfe4c1f1cef5a448062f3a5aea4bb321d98fbd653e55b12eea
data/lib/stack_car/cli.rb CHANGED
@@ -97,7 +97,7 @@ module StackCar
97
97
  desc "release ENVIRONTMENT", "tag and push and image to the registry"
98
98
  def release(environment)
99
99
  timestamp = Time.now.strftime("%Y%m%d%I%M%S")
100
- sha = `git rev-parse HEAD`[0-7]
100
+ sha = `git rev-parse HEAD`[0..7]
101
101
  registry = "#{ENV['REGISTRY_HOST']}#{ENV['REGISTRY_URI']}"
102
102
  tag = ENV["TAG"] || 'latest'
103
103
  unless File.exists?("#{ENV['HOME']}/.docker/config.json") && File.readlines("#{ENV['HOME']}/.docker/config.json").grep(/#{ENV['REGISTRY_HOST']}/).size > 0
@@ -1,3 +1,3 @@
1
1
  module StackCar
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stack_car
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Kaufman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-12 00:00:00.000000000 Z
11
+ date: 2018-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler