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: 22cf12fa2faf4f10353326e87039ba0b6fc9244d5781af261e9debed5d2b0f07
4
- data.tar.gz: ff3d802d98881a7af8af29499b5ac5e3c0ab63a75018e3b4330f2a20241ed04f
3
+ metadata.gz: bd3547dbb378ea2ac524fd5e860de5f6f151d0ecae62df4d56c913fa6210c623
4
+ data.tar.gz: 87c81e7c133e03aba9397a2d62e4a12617907db13fd064a97b9c4c10e24193a3
5
5
  SHA512:
6
- metadata.gz: 8be41d5627cf013074e1f7155814a29f990a4cb14da88c5a44156e3666c532194988ad27c907b9ea1fa664c5e435e8b6eae1ce708258a12f45f9f9ebe0a90918
7
- data.tar.gz: b41c6258c0dcd1bdf338ca3e3b4a6272f56bf3fec1c60e8ff6dd40f86ed9cede0284fbb8a25b8818490fa537b204f519177a35afd77c5b49e37cf3f8de02b4ba
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",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AirwatchWorkspaceone
3
- VERSION = "2.2.0"
3
+ VERSION = "2.3.0"
4
4
  end
5
5
  end
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.2.0
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: 2019-06-25 00:00:00.000000000 Z
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.0.4
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