fastlane-plugin-ravn_mobile 0.1.10 → 0.1.11
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2ab87f3bb316bc274337a0a21804d14a7967fa97f9df945b23e099a254733b3
|
4
|
+
data.tar.gz: 0f8a43b3c20887af33e41321ffce395109d9fe72d12aac7689ee6a0cb5fd2d49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23516696d92d1d5112c3d08e80b1774d5943e59caa7938fe434ba2294717ea38b928d4af85572b67dc52b5c59ce830bc97f58dd3b909f44ecc8242badb1768ca
|
7
|
+
data.tar.gz: 892913abef566b97fb934eb8abce294183765dae644d001b7d4cf60c554d79d127e182e5f343ac377fb3bbbe8030fe1efb7aa46f7b3705870a65c94b389835c3
|
@@ -0,0 +1,64 @@
|
|
1
|
+
require 'fastlane'
|
2
|
+
require 'fastlane/actions/gradle'
|
3
|
+
require 'fastlane/actions/gym'
|
4
|
+
require_relative '../util/util'
|
5
|
+
|
6
|
+
module Fastlane
|
7
|
+
module Actions
|
8
|
+
module SharedValues
|
9
|
+
COPIED_ARTIFACTS_OUTPUT_PATH = :COPIED_ARTIFACTS_OUTPUT_PATH
|
10
|
+
end
|
11
|
+
|
12
|
+
class CopyOutputArtifactsAction < Action
|
13
|
+
def self.run(params)
|
14
|
+
apk_output_paths = Actions.lane_context[SharedValues::GRADLE_ALL_APK_OUTPUT_PATHS]
|
15
|
+
aab_output_paths = Actions.lane_context[SharedValues::GRADLE_ALL_AAB_OUTPUT_PATHS]
|
16
|
+
mapping_output_paths = Actions.lane_context[SharedValues::GRADLE_ALL_MAPPING_TXT_OUTPUT_PATHS]
|
17
|
+
ipa_output_path = Actions.lane_context[SharedValues::IPA_OUTPUT_PATH]
|
18
|
+
dsym_output_path = Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH]
|
19
|
+
|
20
|
+
artifacts = []
|
21
|
+
artifacts << apk_output_paths unless blank?(apk_output_paths)
|
22
|
+
artifacts << aab_output_paths unless blank?(aab_output_paths)
|
23
|
+
artifacts << mapping_output_paths unless blank?(mapping_output_paths)
|
24
|
+
artifacts << ipa_output_path unless blank?(ipa_output_path)
|
25
|
+
artifacts << dsym_output_path unless blank?(dsym_output_path)
|
26
|
+
|
27
|
+
# noinspection RubyResolve
|
28
|
+
other_action.copy_artifacts(target_path: 'artifacts', artifacts: artifacts)
|
29
|
+
|
30
|
+
Actions.lane_context[SharedValues::COPIED_ARTIFACTS_OUTPUT_PATH] = 'artifacts'
|
31
|
+
end
|
32
|
+
|
33
|
+
#####################################################
|
34
|
+
# @!group Documentation
|
35
|
+
#####################################################
|
36
|
+
|
37
|
+
def self.description
|
38
|
+
'Copies artifacts from Android and iOS builds into a directory for easy external access'
|
39
|
+
end
|
40
|
+
|
41
|
+
def self.details
|
42
|
+
'Copies artifacts for Android and iOS builds so that CI services like GitHub actions can easily known where to find these files'
|
43
|
+
end
|
44
|
+
|
45
|
+
def self.available_options
|
46
|
+
[]
|
47
|
+
end
|
48
|
+
|
49
|
+
def self.output
|
50
|
+
[
|
51
|
+
'COPIED_ARTIFACTS_OUTPUT_PATH', 'The path of the directory containing all copied artifacts'
|
52
|
+
]
|
53
|
+
end
|
54
|
+
|
55
|
+
def self.authors
|
56
|
+
['quebin31']
|
57
|
+
end
|
58
|
+
|
59
|
+
def self.is_supported?(platform)
|
60
|
+
%i[ios android].include?(platform)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-ravn_mobile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ravnhq
|
@@ -160,6 +160,7 @@ files:
|
|
160
160
|
- README.md
|
161
161
|
- lib/fastlane/plugin/ravn_mobile.rb
|
162
162
|
- lib/fastlane/plugin/ravn_mobile/actions/commit_version_action.rb
|
163
|
+
- lib/fastlane/plugin/ravn_mobile/actions/copy_output_artifacts_action.rb
|
163
164
|
- lib/fastlane/plugin/ravn_mobile/actions/import_ravn_lanes_action.rb
|
164
165
|
- lib/fastlane/plugin/ravn_mobile/actions/increment_expo_version_action.rb
|
165
166
|
- lib/fastlane/plugin/ravn_mobile/actions/increment_version_code_action.rb
|