fastlane-plugin-wpmreleasetoolkit 13.2.0 → 13.3.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b96cfe534c654f80942c7623819cac09dd3241fc5ba706a21c0ed3db1eef26aa
4
- data.tar.gz: 22a84da84041c275c535beac3f347a432a793b4dc3690df855c29771e78b8483
3
+ metadata.gz: 66c0f3ff05a58b27eea2d38d85b42743cfdd482bbecaecb3c224d3cb5604c245
4
+ data.tar.gz: f25ce72cd357017c83f08cfb495b6ce0c8ae433343afd4cf336333e6522000cc
5
5
  SHA512:
6
- metadata.gz: 5d2ef6a47af19fb7370eb894fa9db53d39a1688bc8c862269243702e8f91ebbf68060478653311b5989d46c39ce86e1308675ed4153b9aecb9350e5bc45f1214
7
- data.tar.gz: 6833e063d42b40d2f6aa2f6f918b8ecab482f8fdca7ca28871b9f0b024f8250a7ce21339f2844c8d4ed23ac29783126491db97aa34204fcb790efff7eb3f69e1
6
+ metadata.gz: 49eff218fe5e9fd983d2335d549a202c84ff0417e64383f546a5066fdeeb190e5b7aeb10f6fcf6a0cf38e525175b5f62e2185d94fb9391be61d978d3403f5ba8
7
+ data.tar.gz: 8f90466cc5ec9475595c7fef766f7a15ac12b7384e533a3e51b79c04f626f32d93c14b121cf5ec4411de2ad0edaa90221408f2946c8293c1cdc6945f813dd183
@@ -19,6 +19,7 @@ module Fastlane
19
19
  VALID_POST_STATUS = %w[publish draft].freeze
20
20
  VALID_BUILD_TYPES = %w[Alpha Beta Nightly Production Prototype].freeze
21
21
  VALID_PLATFORMS = ['Android', 'iOS', 'Mac - Silicon', 'Mac - Intel', 'Mac - Any', 'Windows'].freeze
22
+ VALID_INSTALL_TYPES = ['Full Install', 'Update'].freeze
22
23
 
23
24
  def self.run(params)
24
25
  UI.message('Uploading build to Apps CDN...')
@@ -36,11 +37,13 @@ module Fastlane
36
37
  visibility: params[:visibility].to_s.capitalize,
37
38
  platform: params[:platform],
38
39
  resource_type: RESOURCE_TYPE,
40
+ install_type: params[:install_type],
39
41
  version: params[:version],
40
42
  build_number: params[:build_number], # Optional: may be nil
41
43
  minimum_system_version: params[:minimum_system_version], # Optional: may be nil
42
44
  post_status: params[:post_status], # Optional: may be nil
43
45
  release_notes: params[:release_notes], # Optional: may be nil
46
+ sha: params[:sha], # Optional: may be nil
44
47
  error_on_duplicate: params[:error_on_duplicate] # defaults to false
45
48
  }.compact
46
49
  request_body, content_type = build_multipart_request(parameters: parameters, file_path: file_path)
@@ -210,6 +213,15 @@ module Fastlane
210
213
  UI.user_error!("Build type must be one of: #{VALID_BUILD_TYPES.join(', ')}") unless VALID_BUILD_TYPES.include?(value)
211
214
  end
212
215
  ),
216
+ FastlaneCore::ConfigItem.new(
217
+ key: :install_type,
218
+ description: "The install type for the build. One of: #{VALID_INSTALL_TYPES.join(', ')}",
219
+ default_value: 'Full Install',
220
+ type: String,
221
+ verify_block: proc do |value|
222
+ UI.user_error!("Install type must be one of: #{VALID_INSTALL_TYPES.join(', ')}") unless VALID_INSTALL_TYPES.include?(value)
223
+ end
224
+ ),
213
225
  FastlaneCore::ConfigItem.new(
214
226
  key: :visibility,
215
227
  description: 'The visibility of the build (:internal or :external)',
@@ -256,6 +268,12 @@ module Fastlane
256
268
  optional: true,
257
269
  type: String
258
270
  ),
271
+ FastlaneCore::ConfigItem.new(
272
+ key: :sha,
273
+ description: 'A string representing the release, e.g. the most recent commit hash, cryptographic token, etc',
274
+ optional: true,
275
+ type: String
276
+ ),
259
277
  FastlaneCore::ConfigItem.new(
260
278
  key: :error_on_duplicate,
261
279
  description: 'If true, the action will error if a build matching the same metadata already exists. If false, any potential existing build matching the same metadata will be updated to replace the build with the new file',
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Fastlane
4
4
  module Wpmreleasetoolkit
5
- VERSION = '13.2.0'
5
+ VERSION = '13.3.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-wpmreleasetoolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.2.0
4
+ version: 13.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Automattic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-20 00:00:00.000000000 Z
11
+ date: 2025-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport