rops 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deployer.rb +1 -5
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35e79d0ac5ba9b1b390e4764445c2d7ea0baefbb6f87546f951b350b56845f4a
|
4
|
+
data.tar.gz: 50b2360868d759353b36cf1fc0e27439762fe973eb6b57c14240a1b747d6a992
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9481dce3e2fd292a47ea25ad00df8b230f47061f060b3fd65514b9f8e063c8645808a30a807f6a85055751948783b2f7dfd46891c632e7934cd874bd5359cca5
|
7
|
+
data.tar.gz: 05b384626c27d7d0582c6000259acfa2f118734a8e25e30b1041bf481fedbb4bf23fc2d980b3d8da6ba46f0939dfdfab95561a0c8810b1d7f2cf9b69b3c5fc4b
|
data/lib/deployer.rb
CHANGED
@@ -43,11 +43,7 @@ class Deployer
|
|
43
43
|
@branch.delete_prefix!('g') if @branch.match(/^g\h{8}$/)
|
44
44
|
@commit = git.object(@branch).sha
|
45
45
|
|
46
|
-
|
47
|
-
@image_tag = "g#{short_id}"
|
48
|
-
if (@branch != default_branch) && !@branch.start_with?(short_id)
|
49
|
-
@image_tag += "-#{@branch}"
|
50
|
-
end
|
46
|
+
@image_tag = @commit[0, 8]
|
51
47
|
images.each do |image|
|
52
48
|
image.commit = commit
|
53
49
|
image.tag = image_tag
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rops
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Sloan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-cli
|