rops 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/deployer.rb +1 -5
  3. data/lib/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c165439c24766bf43fb4cbf561e8fefdd0bb8b4cb50534577289edd54fbca89
4
- data.tar.gz: 7e62f623efbe2f6335030a42482cb0768bb61af1bb93e562ba385314e78bd57a
3
+ metadata.gz: 35e79d0ac5ba9b1b390e4764445c2d7ea0baefbb6f87546f951b350b56845f4a
4
+ data.tar.gz: 50b2360868d759353b36cf1fc0e27439762fe973eb6b57c14240a1b747d6a992
5
5
  SHA512:
6
- metadata.gz: 573db01279424e05de52740d435eadf998fe6f79248908c3dbd4a33864cce8c9cae2cb7a3dcf328af6c1e1b60e2a4511663ffb63a4273a8cd53eaa65dd4f74b0
7
- data.tar.gz: 40dbd0654aca609a450588c4eb2f5d59d8715db4664d626aa9148b0fc46d180e1bbf473d859409af4dccf3354cdfc36d016b6b72b1f9180d9d3202e9f58d17a3
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
- short_id = @commit[0, 8]
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
@@ -1,5 +1,5 @@
1
1
  module Record360
2
2
  module Operations
3
- VERSION = '1.1.0'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
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.1.0
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-10 00:00:00.000000000 Z
11
+ date: 2021-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli