fastlane-plugin-zealot 0.5.0 → 0.6.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: 5a1b2f611786f8740b32f953adfbd42bbc5df33e4160f6e1490179200a4dfe4c
|
4
|
+
data.tar.gz: 5a03f7c7e0920c557892758244a1213ba9d4343b00cda48f2b2dfc05c3230039
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4877a7954d4afb7a52e5ea78a2848bd9a3cb97c7c19c7f56cb6c07ddafd5e63b302a78c39c873d2486b4233c261b57183fc095922c8476b4b33c205da7078da
|
7
|
+
data.tar.gz: 057e2ce616687b74697fe2411e1d085a3af5a7b5ee77f42801c08e9bb0b6919bf17770f3fc82eb49f2d48d77a0da0fb81c0eb690425230002bbc81d6add0efc8
|
@@ -7,6 +7,14 @@ module Fastlane
|
|
7
7
|
module Actions
|
8
8
|
module SharedValues
|
9
9
|
ZEALOT_VERSION_EXISTED = :ZEALOT_VERSION_EXISTED
|
10
|
+
ZEALOT_LATEST_RELEASE_ID = :ZEALOT_LATEST_RELEASE_ID
|
11
|
+
ZEALOT_LATEST_RELEASE_VERSION = :ZEALOT_LATEST_RELEASE_VERSION
|
12
|
+
ZEALOT_LATEST_BUILD_VERSION = :ZEALOT_LATEST_VERSION
|
13
|
+
ZEALOT_LATEST_VERSION = :ZEALOT_LATEST_VERSION
|
14
|
+
ZEALOT_LATEST_RELEASE_URL = :ZEALOT_LATEST_RELEASE_URL
|
15
|
+
ZEALOT_LATEST_QRCODE_URL = :ZEALOT_LATEST_QRCODE_URL
|
16
|
+
ZEALOT_LATEST_INSTALL_URL = :ZEALOT_LATEST_INSTALL_URL
|
17
|
+
ZEALOT_LATEST_CONTEXT = :ZEALOT_LATEST_CONTEXT
|
10
18
|
end
|
11
19
|
|
12
20
|
class ZealotVersionCheckAction < Action
|
@@ -31,6 +39,17 @@ module Fastlane
|
|
31
39
|
Actions.lane_context[SharedValues::ZEALOT_VERSION_EXISTED] = is_existed
|
32
40
|
|
33
41
|
if is_existed
|
42
|
+
context = response.body
|
43
|
+
|
44
|
+
Actions.lane_context[SharedValues::ZEALOT_LATEST_RELEASE_ID] = context['id']
|
45
|
+
Actions.lane_context[SharedValues::ZEALOT_LATEST_RELEASE_VERSION] = context['release_version']
|
46
|
+
Actions.lane_context[SharedValues::ZEALOT_LATEST_BUILD_VERSION] = context['build_version']
|
47
|
+
Actions.lane_context[SharedValues::ZEALOT_LATEST_VERSION] = context['version']
|
48
|
+
Actions.lane_context[SharedValues::ZEALOT_LATEST_RELEASE_URL] = context['release_url']
|
49
|
+
Actions.lane_context[SharedValues::ZEALOT_LATEST_INSTALL_URL] = context['install_url']
|
50
|
+
Actions.lane_context[SharedValues::ZEALOT_LATEST_QRCODE_URL] = context['qrcode_url']
|
51
|
+
Actions.lane_context[SharedValues::ZEALOT_LATEST_CONTEXT] = context
|
52
|
+
|
34
53
|
UI.important 'Found app version, you can skip upload it'
|
35
54
|
else
|
36
55
|
UI.success 'Not found app version, you can upload it'
|
@@ -92,6 +111,12 @@ module Fastlane
|
|
92
111
|
optional: true,
|
93
112
|
default_value: true,
|
94
113
|
type: Boolean),
|
114
|
+
FastlaneCore::ConfigItem.new(key: :hide_user_token,
|
115
|
+
env_name: 'ZEALOT_HIDE_USER_TOKEN',
|
116
|
+
description: 'replase user token to *** to keep secret',
|
117
|
+
optional: true,
|
118
|
+
default_value: true,
|
119
|
+
type: Boolean),
|
95
120
|
FastlaneCore::ConfigItem.new(key: :fail_on_error,
|
96
121
|
env_name: 'ZEALOT_FAIL_ON_ERROR',
|
97
122
|
description: 'Should an error http request cause a failure? (true/false)',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-zealot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- icyleaf
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -164,7 +164,7 @@ dependencies:
|
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 2.137.0
|
167
|
-
description:
|
167
|
+
description:
|
168
168
|
email: icyleaf.cn@gmail.com
|
169
169
|
executables: []
|
170
170
|
extensions: []
|
@@ -183,7 +183,7 @@ homepage: https://github.com/getzealot/fastlane-plugin-zealot
|
|
183
183
|
licenses:
|
184
184
|
- MIT
|
185
185
|
metadata: {}
|
186
|
-
post_install_message:
|
186
|
+
post_install_message:
|
187
187
|
rdoc_options: []
|
188
188
|
require_paths:
|
189
189
|
- lib
|
@@ -198,8 +198,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
198
|
- !ruby/object:Gem::Version
|
199
199
|
version: '0'
|
200
200
|
requirements: []
|
201
|
-
rubygems_version: 3.
|
202
|
-
signing_key:
|
201
|
+
rubygems_version: 3.1.2
|
202
|
+
signing_key:
|
203
203
|
specification_version: 4
|
204
204
|
summary: Upload a new build to Zealot
|
205
205
|
test_files: []
|