menu-cli 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/menu/release.rb +2 -1
- data/lib/menu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5397733fc07b579b71961c9312b191e010b6683d
|
4
|
+
data.tar.gz: f754f7765054ca1099b8499b930668a8ab3a497a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6919ead2bdeec944ef883e69e888d8d8f376ed8595d7a354d953590745bf90847879a90574e761fa6f3588c3d663da045bce5e714ef0807d0caaf739eb84324a
|
7
|
+
data.tar.gz: 13c74afa3dca55338d30cfe3ca0c1ef6bca32b103b8b2b9ccd844bfff721f5b780dceca447bfcc8529954fc2323044fcd951aae6ca6f33167df966eb59a84f85
|
data/lib/menu/release.rb
CHANGED
@@ -10,7 +10,7 @@ module Menu
|
|
10
10
|
|
11
11
|
def upload_payload
|
12
12
|
s3 = Aws::S3::Client.new(region: 'us-east-1')
|
13
|
-
key = "#{options.component}/v#{self.version}-#{md5}#{File.extname(@payload_file)}"
|
13
|
+
key = "#{options.component}/v#{self.version}-#{@md5}#{File.extname(@payload_file)}"
|
14
14
|
puts "Uploading payload (#{key}) to S3..." if @options.verbose
|
15
15
|
s3.put_object(
|
16
16
|
acl: "public-read",
|
@@ -30,6 +30,7 @@ module Menu
|
|
30
30
|
@payload_file = file
|
31
31
|
puts "Calcuating checksum..." if @options.verbose
|
32
32
|
md5 = Digest::MD5.file(file).hexdigest
|
33
|
+
@md5 = md5
|
33
34
|
puts "Checksum: "+ md5
|
34
35
|
end
|
35
36
|
|
data/lib/menu/version.rb
CHANGED