fastlane-plugin-stream_actions 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/stream_actions/actions/custom_match.rb +69 -0
- data/lib/fastlane/plugin/stream_actions/actions/pod_push_safely.rb +1 -1
- data/lib/fastlane/plugin/stream_actions/actions/read_changelog.rb +1 -1
- data/lib/fastlane/plugin/stream_actions/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6ec0be8f79dbac1b9419e0002bef670aa32499f1cd195ceb62bfc3d9497e86f
|
4
|
+
data.tar.gz: 618f1e7b9c431c44172ec0489f4d65d80fa0e6223546dcbd45f7a3a716181f01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 671bfd2e3764e97c8f16d0f5ce714b3fa8284cfa9424ce465e6853a16e9307494da5bbe5e5b2b411dcaa313d315be7139000bd56a5cfebdaa04b7f2fee60aa61
|
7
|
+
data.tar.gz: f09fe51ae54b4678e789d62aefe39e81992274429d30e419459c413420c10659172d3963d41844e686be039ba0f7ceb68ff1a0fc8fe9ff44c055cce58e4ff11a
|
@@ -0,0 +1,69 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class CustomMatchAction < Action
|
4
|
+
def self.run(params)
|
5
|
+
if params[:register_device]
|
6
|
+
device_name = other_action.prompt(text: 'Enter the device name: ')
|
7
|
+
device_udid = other_action.prompt(text: 'Enter the device UDID: ')
|
8
|
+
other_action.register_device(name: device_name, udid: device_udid)
|
9
|
+
params[:readonly] = false
|
10
|
+
end
|
11
|
+
|
12
|
+
%w[development adhoc appstore].each do |type|
|
13
|
+
other_action.match(
|
14
|
+
api_key: params[:api_key],
|
15
|
+
type: type,
|
16
|
+
app_identifier: params[:app_identifier],
|
17
|
+
readonly: params[:readonly] || true,
|
18
|
+
force_for_new_devices: !other_action.is_ci
|
19
|
+
)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
#####################################################
|
24
|
+
# @!group Documentation
|
25
|
+
#####################################################
|
26
|
+
|
27
|
+
def self.description
|
28
|
+
'Analyzes the impact of changes on PR'
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.available_options
|
32
|
+
[
|
33
|
+
FastlaneCore::ConfigItem.new(
|
34
|
+
key: :api_key,
|
35
|
+
description: 'AppStore Connect API Key',
|
36
|
+
is_string: false,
|
37
|
+
verify_block: proc do |api_key|
|
38
|
+
UI.user_error!('AppStore Connect API Key has to be specified') unless api_key
|
39
|
+
end
|
40
|
+
),
|
41
|
+
FastlaneCore::ConfigItem.new(
|
42
|
+
key: :app_identifier,
|
43
|
+
description: 'The bundle identifier(s) of your app (array of strings)',
|
44
|
+
is_string: false,
|
45
|
+
verify_block: proc do |id|
|
46
|
+
UI.user_error!("The bundle identifier(s) have to be specified") unless id.kind_of?(Array) && id.size.positive?
|
47
|
+
end
|
48
|
+
),
|
49
|
+
FastlaneCore::ConfigItem.new(
|
50
|
+
key: :readonly,
|
51
|
+
is_string: false,
|
52
|
+
default_value: true,
|
53
|
+
description: 'If `readonly: true` (by default), installs all Certs and Profiles necessary for development and ad-hoc.\nIf `readonly: false`, recreates all Profiles necessary for development and ad-hoc, updates them locally and remotely'
|
54
|
+
),
|
55
|
+
FastlaneCore::ConfigItem.new(
|
56
|
+
key: :register_device,
|
57
|
+
is_string: false,
|
58
|
+
default_value: false,
|
59
|
+
description: 'When `true` you will be asked to specify a name and UDID of new device to register'
|
60
|
+
)
|
61
|
+
]
|
62
|
+
end
|
63
|
+
|
64
|
+
def self.supported?(_platform)
|
65
|
+
[:ios].include?(platform)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -7,7 +7,7 @@ module Fastlane
|
|
7
7
|
|
8
8
|
def self.pod_push_safely(params)
|
9
9
|
UI.message("Starting to push podspec: #{params[:podspec]}")
|
10
|
-
|
10
|
+
other_action.pod_push(path: params[:podspec], allow_warnings: true, synchronous: params[:sync])
|
11
11
|
rescue StandardError => e
|
12
12
|
UI.message(e)
|
13
13
|
UI.message("pod_push failed for #{params[:podspec]}. Waiting a minute until retry for trunk to get updated...")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-stream_actions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GetStream
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -228,6 +228,7 @@ extra_rdoc_files: []
|
|
228
228
|
files:
|
229
229
|
- README.md
|
230
230
|
- lib/fastlane/plugin/stream_actions.rb
|
231
|
+
- lib/fastlane/plugin/stream_actions/actions/custom_match.rb
|
231
232
|
- lib/fastlane/plugin/stream_actions/actions/is_check_required.rb
|
232
233
|
- lib/fastlane/plugin/stream_actions/actions/pod_push_safely.rb
|
233
234
|
- lib/fastlane/plugin/stream_actions/actions/read_changelog.rb
|