fastlane-plugin-aws_s3 2.0.3 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3a11c3f6c9eeba43033f951ff13da1b7cf431f2e53690067d5f5c18c63511d0
4
- data.tar.gz: 57aa765758a3855301b07cf3a188dea05f7aa27700487844ac9438d88f7c4d84
3
+ metadata.gz: b9f04e799720a6f1ed1b984a1c39f22ded8dce49a669a189ccd2e18f29b36d7c
4
+ data.tar.gz: e3ad279119bdd4e239d92b0766b8aa273c11b23d119bfcb70c7ad906dd0fead5
5
5
  SHA512:
6
- metadata.gz: 7786e7c578d069285a41fde71509aa12b6e44d1258d254e9fb9fca7b029f9c3789acd2a4b62451f18b4c5cdbb47b291ee0a2067424a85d9114fce84095e7c3cc
7
- data.tar.gz: 6d35bebed95baa2df8b87ac916111baaabb835d5cc561f62728b0cfeb3cf48cecd1f8c345533fc88205447bc1d7ad42522655b4e31bfa5bf626669bd746ac266
6
+ metadata.gz: c3626c0967c1194c77411eae31a34bf3f8b32cd6fa5517dcc329dbdaa34174c9cf84390784b4057fee2acb6cc3df7543f1d6ac1c87c8010eb95b0278c269ca99
7
+ data.tar.gz: 227ef2d0af69e8126a5f8fe122f163e5d5821e2cd45e6a70110e338cc578ebdcaeca7f131038b6a23b8fdf1bdc7dc53f329fe927d3d8cf3c1b359d7db4706d48
@@ -32,6 +32,7 @@ module Fastlane
32
32
  params[:release_notes] = config[:release_notes]
33
33
  params[:access_key] = config[:access_key]
34
34
  params[:secret_access_key] = config[:secret_access_key]
35
+ params[:aws_session_token] = config[:aws_session_token]
35
36
  params[:aws_profile] = config[:aws_profile]
36
37
  params[:bucket] = config[:bucket]
37
38
  params[:endpoint] = config[:endpoint]
@@ -65,6 +66,7 @@ module Fastlane
65
66
  s3_region = params[:region]
66
67
  s3_access_key = params[:access_key]
67
68
  s3_secret_access_key = params[:secret_access_key]
69
+ s3_session_token = params[:aws_session_token]
68
70
  s3_profile = params[:aws_profile]
69
71
  s3_bucket = params[:bucket]
70
72
  s3_endpoint = params[:endpoint]
@@ -89,7 +91,7 @@ module Fastlane
89
91
  client_cfg[:region] = s3_region if s3_region
90
92
  client_cfg[:endpoint] = s3_endpoint if s3_endpoint
91
93
  client_cfg[:profile] = s3_profile if s3_profile
92
- client_cfg[:credentials] = Aws::Credentials.new(s3_access_key, s3_secret_access_key) if s3_access_key && s3_secret_access_key
94
+ client_cfg[:credentials] = Aws::Credentials.new(s3_access_key, s3_secret_access_key, s3_session_token) if s3_access_key && s3_secret_access_key
93
95
 
94
96
  s3_client = Aws::S3::Client.new(client_cfg)
95
97
 
@@ -736,6 +738,11 @@ module Fastlane
736
738
  description: "AWS Secret Access Key ",
737
739
  optional: true,
738
740
  default_value: ENV['AWS_SECRET_ACCESS_KEY']),
741
+ FastlaneCore::ConfigItem.new(key: :aws_session_token,
742
+ env_name: "S3_SESSION_TOKEN",
743
+ description: "AWS Session TOKEN ",
744
+ optional: true,
745
+ default_value: ENV['AWS_SESSION_TOKEN']),
739
746
  FastlaneCore::ConfigItem.new(key: :aws_profile,
740
747
  env_name: "S3_PROFILE",
741
748
  description: "AWS profile to use for credentials",
@@ -765,7 +772,7 @@ module Fastlane
765
772
  optional: true),
766
773
  FastlaneCore::ConfigItem.new(key: :acl,
767
774
  env_name: "S3_ACL",
768
- description: "Uploaded object permissions e.g public_read (default), private, public_read_write, authenticated_read ",
775
+ description: "Uploaded object permissions e.g public-read (default), private, public-read-write, authenticated-read ",
769
776
  optional: true,
770
777
  default_value: "public-read"),
771
778
  FastlaneCore::ConfigItem.new(key: :server_side_encryption,
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AwsS3
3
- VERSION = "2.0.3"
3
+ VERSION = "2.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-aws_s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Holtz
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-17 00:00:00.000000000 Z
11
+ date: 2022-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -108,7 +108,7 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: 2.144.0
111
- description:
111
+ description:
112
112
  email: josh@rokkincat.com
113
113
  executables: []
114
114
  extensions: []
@@ -129,7 +129,7 @@ homepage: https://github.com/fastlane-community/fastlane-plugin-s3
129
129
  licenses:
130
130
  - MIT
131
131
  metadata: {}
132
- post_install_message:
132
+ post_install_message:
133
133
  rdoc_options: []
134
134
  require_paths:
135
135
  - lib
@@ -144,8 +144,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubygems_version: 3.0.3
148
- signing_key:
147
+ rubygems_version: 3.2.3
148
+ signing_key:
149
149
  specification_version: 4
150
150
  summary: Upload IPA and APK to S3
151
151
  test_files: []