releasecop 0.0.14 → 0.0.15
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/releasecop/manifest_item.rb +5 -3
- data/lib/releasecop/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: af566f86d4d9ba07fffb0d31d5178ae98b71fa236407191062a27e90d5330576
|
|
4
|
+
data.tar.gz: 10f0cf6103e2e17008f0ae0a5f1aa9bef9ba15aba6187ba391e2b6dc13e44f58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc1a98899976b864d535b63108ccb33bbe14aa66a13c0d1c1cd18dc58d9623b3196ce635d6afcb8655015c3cf5f9bc43ad35e09404dd12e9fd8e33da136b8303
|
|
7
|
+
data.tar.gz: 77151af1cc35f98a96d43e489015d2fedd10508a010d500a81f5e522d5a15119979b75907f26281b078632616e75ec59c55d4b6b2dde3d035a272a0dc3c63bbd
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
------------
|
|
3
3
|
* Your contribution here...
|
|
4
4
|
|
|
5
|
+
0.0.15 (2019-04-05)
|
|
6
|
+
---
|
|
7
|
+
* Update for compatibility with hokusai >=0.5.4 (now incompatible with earlier versions) (57ee7ae56)
|
|
8
|
+
|
|
5
9
|
0.0.14 (2019-01-07)
|
|
6
10
|
---
|
|
7
11
|
* Fix `tag_pattern`-matching to respect annotated tags (c7eda3599)
|
|
@@ -24,9 +24,11 @@ module Releasecop
|
|
|
24
24
|
private
|
|
25
25
|
|
|
26
26
|
def find_hokusai_sha
|
|
27
|
-
images_output = with_aws_env { `hokusai registry images` }
|
|
28
|
-
tags = images_output.lines.grep(/\d{4}.*
|
|
29
|
-
|
|
27
|
+
images_output = with_aws_env { `hokusai registry images --limit 1000` } # list as many items as possible
|
|
28
|
+
tags = images_output.lines.grep(/\d{4}.* \| .*/).map do |l| # lines listing images
|
|
29
|
+
l.split(' | ').last.gsub(/\e\[(\d+)(\;\d+)*m/, '').split(',').map(&:strip) # tags
|
|
30
|
+
end
|
|
31
|
+
tags.detect{|t| t.include?(@options['hokusai']) }.detect{|t| t[/^[0-9a-f]{40}$/]} # first SHA-seeming tag matching environment
|
|
30
32
|
end
|
|
31
33
|
|
|
32
34
|
def find_tag_pattern_sha
|
data/lib/releasecop/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: releasecop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joey Aghion
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|