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 +4 -4
- data/lib/stack_car/cli.rb +1 -1
- data/lib/stack_car/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c211b3d1c2030db2a5e70cb4bf82e735d161ff30
|
4
|
+
data.tar.gz: 2d66451f16f94290bdc5cc85af8ed13893f1acde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/lib/stack_car/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|