fastlane-plugin-zealot 0.8.0 → 1.0.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: 5e3bacd2013042608e84e46e51c022b6cea7469876d37b84f044028bf4e591dc
4
- data.tar.gz: 975d4ca4c3dc22f4d2466b5518675a14eebb797697aaa85f9d9f39e07f49fc5e
3
+ metadata.gz: 59b04577863276205b4f6054d8b7c20c4e60a85978ea43cdc11a823b0fbe2858
4
+ data.tar.gz: 26eaee437c2646a2738099e4dbc9d2466575b9d09534c36789bb893a174ad28e
5
5
  SHA512:
6
- metadata.gz: c4e2e25c7bbf317204dc6c8eb118f5ada4cc8397c1c10ebd6be4b5a7fbd089e3bde4207f7a07aebf32826d255dae2fc11ef5fc42dab01b3a7cde8233ce4a94dc
7
- data.tar.gz: 71e61f001f6b684dad1060371e8bb71c542bb2bb2fcb4b21c706961abe70c063267319a0b785f2529a59a60b5183c720e9cdedef5f8cfe221c1d9ef7e5109773
6
+ metadata.gz: 4a74e4133c22f32cc7f5f23db3603dc39f75a9d65446d46c9f2e8f10c24037eda85fd25a2994c18b1b9aaf25472d1ea9cfada37417dbae48956b3e3e6fcd29bf
7
+ data.tar.gz: 1f817bc7ebf12c4a50b495863fa734881d96024a707a4a51964c5049cf35105c6b07bd54bb67779d13a570b0dce8e6fd6c2fb4a3bd957f1d2f627ebffb11933c
data/README.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # fastlane-plugin-zealot
2
2
 
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-zealot)
4
+ [![English document](https://img.shields.io/badge/Document-English-blue.svg)](https://zealot.ews.im/docs/developer-guide/fastlane)
4
5
 
5
- 上传移动应用(iPhone、Android)到 [Zealot](https://github.com/tryzealot/zealot) 自建 App 分发系统。
6
+ 上传任何应用文件(iPhone、Android,macOS,Windows 和 Linux)到 [Zealot](https://github.com/tryzealot/zealot) 自建 App 分发系统。
6
7
 
7
- > Zealot 是一个开源自部署移动应用分发平台,提供 iOS、Android SDK、fastlane 等丰富组件库,打包分发流程、上传应用竟然如此简单、解决开发人员频繁打包的烦恼 🖖
8
+ fastlane-plugin-zealot provides upload app, debug_file and version check actions to [Zealot](https://github.com/tryzealot/zealot).
8
9
 
9
- ## 快速上手
10
+ ## 快速上手 Quick Start
10
11
 
11
12
  这是一个 [_fastlane_](https://github.com/fastlane/fastlane) 插件。如果要使用 `fastlane-plugin-zealot` 可通过下面方法添加到 fastlane 体系中:
12
13
 
@@ -20,7 +21,7 @@ $ fastlane add_plugin zealot
20
21
 
21
22
  ### zealot
22
23
 
23
- 上传 iOS/Android App 至 Zealot 系统,插件会通过参数和 CI 系统自动获取很多辅助信息。包括但不仅限于:
24
+ 上传 iOS (app/ipa)、Android (apk/abb),macOS(Zip 压缩后的 app 文件),Windows(exe)和 Linux App 至 Zealot 系统,插件会通过参数和 CI 系统自动获取很多辅助信息。包括但不仅限于:
24
25
 
25
26
  - 使用 gym 或 gradle 打包生成的 app 文件路径
26
27
  - 解析应用获取的应用名称、打包类型
@@ -57,7 +57,7 @@ module Fastlane
57
57
  #####################################################
58
58
 
59
59
  def self.description
60
- 'Upload IPA/APK files to Zealot which it provides a self-host Over The Air Server for deployment of Android and iOS apps.'
60
+ 'Upload a application file to Zealot which it provides a self-host over the air server for deployment of Android, iOS, macOS, Windows and Linux apps.'
61
61
  end
62
62
 
63
63
  def self.available_options
@@ -81,7 +81,7 @@ module Fastlane
81
81
  FastlaneCore::ConfigItem.new(key: :file,
82
82
  env_name: 'ZEALOT_FILE',
83
83
  description: 'The path of app file. Optional if you use the `gym`, `ipa`, `xcodebuild` or `gradle` action. ',
84
- default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] || Dir['*.ipa'].last || Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] || Dir['*.apk'].last,
84
+ default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] || Dir['*.ipa'].last || Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] || Dir['*.apk'].last || Dir['*.exe'].last || Dir['*'].last,
85
85
  verify_block: proc do |value|
86
86
  UI.user_error!("Couldn't pass empty to file") if value.nil? || value.empty?
87
87
  UI.user_error!("Couldn't find file at path '#{value}'") unless File.exist?(value)
@@ -96,6 +96,7 @@ module Fastlane
96
96
  FastlaneCore::ConfigItem.new(key: :changelog,
97
97
  env_name: 'ZEALOT_CHANGELOG',
98
98
  description: 'The changelog of app',
99
+ default_value: ENV['CI_CHANGELOG'],
99
100
  optional: true,
100
101
  type: String),
101
102
  FastlaneCore::ConfigItem.new(key: :slug,
@@ -123,6 +124,7 @@ module Fastlane
123
124
  FastlaneCore::ConfigItem.new(key: :custom_fields,
124
125
  env_name: 'ZEALOT_CUSTOM_FIELDS',
125
126
  description: 'The key-value hash of custom fields',
127
+ default_value: '[]',
126
128
  optional: true,
127
129
  type: Array),
128
130
  FastlaneCore::ConfigItem.new(key: :password,
@@ -13,6 +13,9 @@ module Fastlane
13
13
  def self.run(params)
14
14
  require 'spaceship'
15
15
 
16
+ UI.warn('Zealot v4.5.0 starts to support Apple developer features to enable automatic synchronization of test devices.')
17
+ UI.warn('Link to view detail: https://zealot.ews.im/docs/user-guide/administrator/apple-team')
18
+
16
19
  all_platforms = Set[params[:platform]]
17
20
  supported_platforms = all_platforms.select { |platform| self.is_supported?(platform.to_sym) }
18
21
 
@@ -63,7 +66,7 @@ module Fastlane
63
66
  #####################################################
64
67
 
65
68
  def self.description
66
- 'Check app version exists from Zealot'
69
+ 'Sync ios devices list to Zealot'
67
70
  end
68
71
 
69
72
  def self.available_options
@@ -41,9 +41,6 @@ module Fastlane
41
41
 
42
42
  def upload_app(params)
43
43
  form = upload_app_params(params)
44
- # recommand generate collect changelog plugin: https://github.com/icyleaf/fastlane-plugin-ci_changelog
45
- form[:changelog] = changelog_raw if changelog_raw = ENV['CICL_CHANGLOG']
46
-
47
44
  print_table(form, title: 'zealot', hidden_keys: hidden_keys(params))
48
45
 
49
46
  endpoint = params[:endpoint]
@@ -55,7 +52,7 @@ module Fastlane
55
52
  req.body = form
56
53
  end
57
54
  rescue Faraday::ConnectionFailed
58
- show_error('Can not connecting to Zealot', params[:fail_on_error])
55
+ show_error('Can not connecting to Zealot service, make sure it be health to upload.', params[:fail_on_error])
59
56
  rescue Faraday::TimeoutError
60
57
  show_error('Uploading build to Zealot timed out ⏳', params[:fail_on_error])
61
58
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Fastlane
4
4
  module Zealot
5
- VERSION = '0.8.0'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
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.8.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - icyleaf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-28 00:00:00.000000000 Z
11
+ date: 2025-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -198,9 +198,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  - !ruby/object:Gem::Version
199
199
  version: '0'
200
200
  requirements: []
201
- rubygems_version: 3.1.4
201
+ rubygems_version: 3.5.22
202
202
  signing_key:
203
203
  specification_version: 4
204
- summary: Upload IPA/APK/dSYM/Proguard files to Zealot which it provides a self-host
205
- Over The Air Server for deployment of Android and iOS apps.
204
+ summary: Upload IPA/APK/AAB/EXE/APP/ZIP/dSYM/Proguard files to Zealot which it provides
205
+ a self-host Over The Air Server for deployment of Android, iOS, macOS, Windows and
206
+ Linux apps.
206
207
  test_files: []