fastlane-plugin-apptics 1.1.0 → 1.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa259a1c4e1b532215918d77e3da9ccad853b81f2b751568aface03c155572df
|
4
|
+
data.tar.gz: ea2fe2ffeeb553eace9008f1dd88540499250caf4c3a9e219f6b4bcaa9d467d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5deb9dbcf9b4ba39b260c6b2e3fc47687049fda5cfa20d0896ad8ca96c65ca3201914f3e4dc937c830856ce96181da38582079b12884cce899f050da972169f4
|
7
|
+
data.tar.gz: 3876dd67e6da6dcd8725f701675c3766037cd358c448286ee79b7777550778efeccf023dabf3142f1e7a838d582fb67bdfd3c94f1b3c938b5e379f08168d9c5d
|
@@ -10,14 +10,14 @@ module Fastlane
|
|
10
10
|
|
11
11
|
def self.run(params)
|
12
12
|
|
13
|
-
if params[:
|
14
|
-
dsym_zip_file = params[:
|
15
|
-
app_version = params[:
|
16
|
-
build_version = params[:
|
17
|
-
mode_value = params[:
|
18
|
-
platform_value = params[:
|
19
|
-
bundleid = params[:
|
20
|
-
config_file = options_from_info_plist(params[:
|
13
|
+
if params[:appversion] && params[:modevalue] && params[:platformvalue] && params[:bundleid] && params[:buildversion] && params[:dsymfilepath] && options_from_info_plist(params[:configfilepath]) != nil
|
14
|
+
dsym_zip_file = params[:dsymfilepath]
|
15
|
+
app_version = params[:appversion]
|
16
|
+
build_version = params[:buildversion]
|
17
|
+
mode_value = params[:modevalue]
|
18
|
+
platform_value = params[:platformvalue]
|
19
|
+
bundleid = params[:bundleid]
|
20
|
+
config_file = options_from_info_plist(params[:configfilepath])
|
21
21
|
upload(config_file, dsym_zip_file,app_version,build_version,mode_value,platform_value,bundleid)
|
22
22
|
|
23
23
|
end
|
@@ -116,52 +116,52 @@ module Fastlane
|
|
116
116
|
|
117
117
|
# Below a few examples
|
118
118
|
[
|
119
|
-
FastlaneCore::ConfigItem.new(key: :
|
120
|
-
env_name: "
|
121
|
-
description: "App Version
|
119
|
+
FastlaneCore::ConfigItem.new(key: :appversion,
|
120
|
+
env_name: "appversion", # The name of the environment variable
|
121
|
+
description: "App Version Token for UploadDsymToAppticsAction", # a short description of this parameter
|
122
122
|
verify_block: proc do |value|
|
123
123
|
UI.user_error!("No App Version for UploadDsymToAppticsAction given") unless (value and not value.empty?)
|
124
124
|
end),
|
125
125
|
|
126
|
-
FastlaneCore::ConfigItem.new(key: :
|
127
|
-
env_name: "
|
128
|
-
description: "
|
126
|
+
FastlaneCore::ConfigItem.new(key: :dsymfilepath,
|
127
|
+
env_name: "dsymfilepath", # The name of the environment variable
|
128
|
+
description: "API Token for UploadDsymToAppticsAction", # a short description of this parameter
|
129
129
|
verify_block: proc do |value|
|
130
|
-
UI.user_error!("No
|
130
|
+
UI.user_error!("No API token for UploadDsymToAppticsAction given, pass using `api_token: 'token'`") unless (value and not value.empty?)
|
131
131
|
# UI.user_error!("Couldn't find file at path '#{value}'") unless File.exist?(value)
|
132
132
|
end),
|
133
|
-
FastlaneCore::ConfigItem.new(key: :
|
134
|
-
env_name: "
|
133
|
+
FastlaneCore::ConfigItem.new(key: :modevalue,
|
134
|
+
env_name: "modevalue", # The name of the environment variable
|
135
135
|
description: "mode for UploadDsymToAppticsAction", # a short description of this parameter
|
136
136
|
verify_block: proc do |value|
|
137
137
|
#UI.user_error!("mode for UploadDsymToAppticsAction given, pass using `api_token: 'token'`") unless (value and not value.empty?)
|
138
138
|
# UI.user_error!("Couldn't find file at path '#{value}'") unless File.exist?(value)
|
139
139
|
end),
|
140
|
-
FastlaneCore::ConfigItem.new(key: :
|
141
|
-
env_name: "
|
140
|
+
FastlaneCore::ConfigItem.new(key: :platformvalue,
|
141
|
+
env_name: "platformvalue", # The name of the environment variable
|
142
142
|
description: "platform for UploadDsymToAppticsAction", # a short description of this parameter
|
143
143
|
verify_block: proc do |value|
|
144
144
|
#UI.user_error!("mode for UploadDsymToAppticsAction given, pass using `api_token: 'token'`") unless (value and not value.empty?)
|
145
145
|
# UI.user_error!("Couldn't find file at path '#{value}'") unless File.exist?(value)
|
146
146
|
end),
|
147
|
-
FastlaneCore::ConfigItem.new(key: :
|
148
|
-
env_name: "
|
147
|
+
FastlaneCore::ConfigItem.new(key: :bundleid,
|
148
|
+
env_name: "bundleid", # The name of the environment variable
|
149
149
|
description: "bundleid for UploadDsymToAppticsAction", # a short description of this parameter
|
150
150
|
verify_block: proc do |value|
|
151
151
|
#UI.user_error!("mode for UploadDsymToAppticsAction given, pass using `api_token: 'token'`") unless (value and not value.empty?)
|
152
152
|
# UI.user_error!("Couldn't find file at path '#{value}'") unless File.exist?(value)
|
153
153
|
end),
|
154
154
|
|
155
|
-
FastlaneCore::ConfigItem.new(key: :
|
156
|
-
env_name: "
|
155
|
+
FastlaneCore::ConfigItem.new(key: :buildversion,
|
156
|
+
env_name: "buildversion]", # The name of the environment variable
|
157
157
|
description: "Build version for UploadDsymToAppticsAction", # a short description of this parameter
|
158
158
|
verify_block: proc do |value|
|
159
159
|
UI.user_error!("No Build version for UploadDsymToAppticsAction given") unless (value and not value.empty?)
|
160
160
|
# UI.user_error!("Couldn't find file at path '#{value}'") unless File.exist?(value)
|
161
161
|
end),
|
162
162
|
|
163
|
-
FastlaneCore::ConfigItem.new(key: :
|
164
|
-
env_name: "
|
163
|
+
FastlaneCore::ConfigItem.new(key: :configfilepath,
|
164
|
+
env_name: "configfilepath", # The name of the environment variable
|
165
165
|
description: "Config File for UploadDsymToAppticsAction", # a short description of this parameter
|
166
166
|
verify_block: proc do |value|
|
167
167
|
UI.user_error!("No Config File for UploadDsymToAppticsAction given") unless (value and not value.empty?)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-apptics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jaikarthick R
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|