fastlane-plugin-ravn_mobile 0.1.10 → 0.1.12
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: 7385c8d949de5514a9780ceaf9c86dbaf75638f23a4dfdb9834e3cf248354530
|
4
|
+
data.tar.gz: c8db6af478d91197f88e833b2d59bc1ba06065616d7b0a150b033cc7f40af3a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1255f77df22c98b87618287b70847c16d426123f8d7a978a1780d7801c925543898aa79bf8e896a2951bae56d223ce8ba202f5420ee27430b48488c68624317b
|
7
|
+
data.tar.gz: 2444dae4836ede8be04ab4e6f0b81f8c9dd11ebdb224cea9def3e40f7135cc654833f623aa6359b4a814e002b59349ef6f613969cb9ad61b0a94daaa890b19b7
|
@@ -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
|
@@ -8,7 +8,7 @@ module Fastlane
|
|
8
8
|
platform = params[:platform]
|
9
9
|
UI.user_error!("Invalid platform value #{platform}") unless %w[android ios].include?(platform)
|
10
10
|
|
11
|
-
default_version = '~> 0.
|
11
|
+
default_version = '~> 0.3'
|
12
12
|
version = params[:version]
|
13
13
|
version = default_version if blank?(version)
|
14
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ravnhq
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -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
|