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: fd305ff780b399f51584bfd1c7d70546aae0b69304b2561dee3e98a93d537936
4
- data.tar.gz: 2a70a81e4294a45490227ae251b461ce038da02c17851cf7943b0a417fd7eac8
3
+ metadata.gz: aa259a1c4e1b532215918d77e3da9ccad853b81f2b751568aface03c155572df
4
+ data.tar.gz: ea2fe2ffeeb553eace9008f1dd88540499250caf4c3a9e219f6b4bcaa9d467d9
5
5
  SHA512:
6
- metadata.gz: fbfedb73529cfad37e8224a6b8a8fa13631e72bf6d8b4534c6d897452c45abb4be87cf51913f939f5d3148679fcf6a76c21c5ea0e86ea1624c0881154952681b
7
- data.tar.gz: 49205174044a27184d4bfbcdea05df6158452dfcb0e4450ca02baf82100d4e04be8d242ab7824ee841185d3dec8001eb3426ad7ba677d8aefee2850f3e10fcc7
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[:APP_VERSION] && params[:MODE_VALUE] && params[:PLATFORM_VALUE] && params[:BUNDLE_ID] && params[:BUILD_VERSION] && params[:DSYM_FILE_PATH] && options_from_info_plist(params[:CONFIG_FILE_PATH]) != nil
14
- dsym_zip_file = params[:DSYM_FILE_PATH]
15
- app_version = params[:APP_VERSION]
16
- build_version = params[:BUILD_VERSION]
17
- mode_value = params[:MODE_VALUE]
18
- platform_value = params[:PLATFORM_VALUE]
19
- bundleid = params[:BUNDLE_ID]
20
- config_file = options_from_info_plist(params[:CONFIG_FILE_PATH])
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: :APP_VERSION,
120
- env_name: "APP_VERSION", # The name of the environment variable
121
- description: "App Version needed for UploadDsymToAppticsAction", # a short description of this parameter
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: :DSYM_FILE_PATH,
127
- env_name: "DSYM_FILE_PATH", # The name of the environment variable
128
- description: "DSYM path for UploadDsymToAppticsAction", # a short description of this parameter
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 DSYM path for UploadDsymToAppticsAction given, pass using `api_token: 'token'`") unless (value and not value.empty?)
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: :MODE_VALUE,
134
- env_name: "MODE_VALUE", # The name of the environment variable
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: :PLATFORM_VALUE,
141
- env_name: "PLATFORM_VALUE", # The name of the environment variable
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: :BUNDLE_ID,
148
- env_name: "BUNDLE_ID", # The name of the environment variable
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: :BUILD_VERSION,
156
- env_name: "BUILD_VERSION]", # The name of the environment variable
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: :CONFIG_FILE_PATH,
164
- env_name: "CONFIG_FILE_PATH", # The name of the environment variable
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?)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Apptics
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
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.1.0
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-19 00:00:00.000000000 Z
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler