fastlane-plugin-airwatch_workspaceone 2.2.0 → 2.3.0
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: bd3547dbb378ea2ac524fd5e860de5f6f151d0ecae62df4d56c913fa6210c623
|
4
|
+
data.tar.gz: 87c81e7c133e03aba9397a2d62e4a12617907db13fd064a97b9c4c10e24193a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e69906d0a644e1d4411b7ae8019b69f7f4d7cde0e1a00e96228eca6cfa1f146a3b8f7d3b19a757abe9b435a1cace22f059736234ccb58a7f11f9392ba8696ee4
|
7
|
+
data.tar.gz: ad28a1f378952b6b7b03f49a5a15463f9a94dcb2c06ed998c9004d2a9640bf93947d2949162e537208277e91566c77b5e1dc56eb8cbe5f7206e341d910aad59f
|
@@ -27,6 +27,7 @@ module Fastlane
|
|
27
27
|
UI.message(" b64_encoded_auth: #{params[:b64_encoded_auth]}")
|
28
28
|
UI.message(" organization_group_id: #{params[:org_group_id]}")
|
29
29
|
UI.message(" app_name: #{params[:app_name]}")
|
30
|
+
UI.message(" app_version: #{params[:app_version]}")
|
30
31
|
UI.message(" file_name: #{params[:file_name]}")
|
31
32
|
UI.message(" path_to_file: #{params[:path_to_file]}")
|
32
33
|
UI.message(" push_mode: #{params[:push_mode]}")
|
@@ -37,6 +38,7 @@ module Fastlane
|
|
37
38
|
$b64_encoded_auth = params[:b64_encoded_auth]
|
38
39
|
$org_group_id = params[:org_group_id]
|
39
40
|
app_name = params[:app_name]
|
41
|
+
app_version = params[:app_version]
|
40
42
|
file_name = params[:file_name]
|
41
43
|
path_to_file = params[:path_to_file]
|
42
44
|
push_mode = params[:push_mode]
|
@@ -79,7 +81,7 @@ module Fastlane
|
|
79
81
|
UI.message("-----------------------------------")
|
80
82
|
UI.message("4. Deploying app version on console")
|
81
83
|
UI.message("-----------------------------------")
|
82
|
-
deploy_app(blobID, app_name, push_mode)
|
84
|
+
deploy_app(blobID, app_name, app_version, push_mode)
|
83
85
|
UI.success("Successfully deployed the app version")
|
84
86
|
end
|
85
87
|
|
@@ -160,7 +162,7 @@ module Fastlane
|
|
160
162
|
return json['Value']
|
161
163
|
end
|
162
164
|
|
163
|
-
def self.deploy_app(blobID, app_name, push_mode)
|
165
|
+
def self.deploy_app(blobID, app_name, app_version, push_mode)
|
164
166
|
require 'rest-client'
|
165
167
|
require 'json'
|
166
168
|
|
@@ -168,6 +170,7 @@ module Fastlane
|
|
168
170
|
"BlobId" => blobID.to_s,
|
169
171
|
"DeviceType" => $device_type,
|
170
172
|
"ApplicationName" => app_name,
|
173
|
+
"AppVersion" => app_version,
|
171
174
|
"SupportedModels" => $supported_device_models,
|
172
175
|
"PushMode" => push_mode,
|
173
176
|
"LocationGroupId" => $org_group_id
|
@@ -253,6 +256,13 @@ module Fastlane
|
|
253
256
|
verify_block: proc do |value|
|
254
257
|
UI.user_error!("No app name given, pass using `app_name: 'My sample app'`") unless value and !value.empty?
|
255
258
|
end),
|
259
|
+
|
260
|
+
FastlaneCore::ConfigItem.new(key: :app_version,
|
261
|
+
env_name: "AIRWATCH_APPLICATION_VERSION",
|
262
|
+
description: "Airwatch Internal App Version",
|
263
|
+
optional: true,
|
264
|
+
type: String,
|
265
|
+
default_value: nil),
|
256
266
|
|
257
267
|
FastlaneCore::ConfigItem.new(key: :file_name,
|
258
268
|
env_name: "AIRWATCH_FILE_NAME",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-airwatch_workspaceone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ram Awadhesh Sharan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
202
|
- !ruby/object:Gem::Version
|
203
203
|
version: '0'
|
204
204
|
requirements: []
|
205
|
-
rubygems_version: 3.
|
205
|
+
rubygems_version: 3.1.2
|
206
206
|
signing_key:
|
207
207
|
specification_version: 4
|
208
208
|
summary: The main purpose of this plugin is to upload an IPA or an APK file to an
|