fastlane-plugin-fir_cli 0.1.1 → 1.0.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: 663eed9b6d19528e947be05fd06fd52b3d7ed3e6a56e535781d93eda5a2976ed
4
- data.tar.gz: 265401ccb9f5dbd038005dbdf2895f8c827095e3ccd3f725a63879c283bc1ae9
3
+ metadata.gz: 78fa96f65aa5c66b6130a5f2f105e5b82329c54946e05d217a2adcb1033f016c
4
+ data.tar.gz: 6652e0fc2e4fa21573ba07a581f9a3b85ed2e05502dbc661f1d6c06400ee5afc
5
5
  SHA512:
6
- metadata.gz: 4beaa3f0a8482fb487ba5b3b45491a5c5e10157397a6e205298bd73bb94de238fb069089a1dd06c8a740d47626c5417f71979c5148a18b8e20dc5315c9fac354
7
- data.tar.gz: 3b4a8393eda860275aa9d8e5ee5dab1f8b14df1a9d815fea8176c2d02e4f1fd59015cce5bfd1aaa2a0ee8e879aff627a455478b75c1d95c82ab7c9d87a8fe2a3
6
+ metadata.gz: 3981a55dbe89b2cab60b1ea84974d9163734af40b9ae83ba3fecb38b0ed434950ec418ecf367b9769b311026ce7ef6d2f5baa6198c41cbd420370eedc8d5eb83
7
+ data.tar.gz: 5f149098c7172a36a11bfc2716f7cd803217e90e825fd1f47f1394795f5a8e54baa24df3c37ad6f2c76d20bf53b04804829916f1b2b744b3e9d9e3a912372862
data/README.md CHANGED
@@ -35,7 +35,10 @@ default_platform(:ios)
35
35
  platform :ios do
36
36
  lane :gofir do
37
37
  gym export_method: "ad-hoc"
38
+
39
+ # 多个参数 可以使用逗号 分离
38
40
  fir_cli api_token: "YOUR FIR API TOKEN"
41
+
39
42
  end
40
43
  end
41
44
 
@@ -45,6 +48,7 @@ end
45
48
 
46
49
 
47
50
  run fir plugin in bash
51
+
48
52
  在终端跑这个插件
49
53
 
50
54
 
@@ -63,10 +67,19 @@ For any other issues and feedback about this plugin, please submit it to this re
63
67
 
64
68
  If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
65
69
 
70
+
71
+ ## Buy me a coffee
72
+
73
+ Thanks!
74
+
75
+ 感谢鼓励作者维护!
76
+
77
+ ![luckin](luckin_coffee.png)
78
+
66
79
  ## Using _fastlane_ Plugins
67
80
 
68
81
  For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).
69
82
 
70
83
  ## About _fastlane_
71
84
 
72
- _fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
85
+ _fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
@@ -16,17 +16,20 @@ module Fastlane
16
16
  specify_file_path: params[:specify_file_path],
17
17
  force_pin_history: params[:force_pin_history],
18
18
  skip_update_icon: params[:skip_update_icon],
19
+ specify_icon_file: params[:specify_icon_file],
19
20
  changelog: params[:changelog],
20
21
  open: params[:open],
21
22
  password: params[:password],
22
- short: params[:short]
23
+ short: params[:short],
24
+ dingtalk_access_token: params[:dingtalk_access_token],
25
+ switch_to_qiniu: params[:switch_to_qiniu],
26
+ dingtalk_custom_message: params[:dingtalk_custom_message]
23
27
  }.reject {|_k, v| v.nil?}
24
-
25
28
  FirHelper.publish(fir_args, options)
26
29
  end
27
30
 
28
31
  def self.description
29
- "upload ipa or apk to fir.im"
32
+ "upload ipa or apk to fir.im using fir-cli (This plugin is maintained by fir.im official)"
30
33
  end
31
34
 
32
35
  def self.authors
@@ -60,20 +63,25 @@ module Fastlane
60
63
  description: "fir short",
61
64
  optional: true),
62
65
  FastlaneCore::ConfigItem.new(key: :force_pin_history,
63
- env_name: "FIR_APP_FORCE_PIN_HISTORY",
64
- description: "pin this release to download page",
65
- default_value: false,
66
- optional: true),
66
+ env_name: "FIR_APP_FORCE_PIN_HISTORY",
67
+ description: "pin this release to download page",
68
+ default_value: false,
69
+ optional: true),
67
70
  FastlaneCore::ConfigItem.new(key: :skip_update_icon,
68
- env_name: "FIR_APP_SKIP_UPDATE_ICON",
69
- description: "skip upload icon",
70
- default_value: false,
71
- optional: true),
71
+ env_name: "FIR_APP_SKIP_UPDATE_ICON",
72
+ description: "skip upload icon",
73
+ default_value: false,
74
+ optional: true),
75
+ FastlaneCore::ConfigItem.new(key: :specify_icon_file,
76
+ env_name: "FIR_SPECIFY_ICON_FILE_PATH",
77
+ description: "APP ICON FILE PATH",
78
+ default_value: nil,
79
+ optional: true),
72
80
  FastlaneCore::ConfigItem.new(key: :changelog,
73
- env_name: "FIR_APP_CHANGELOG",
74
- description: "changelog path or content",
75
- default_value: nil,
76
- optional: true),
81
+ env_name: "FIR_APP_CHANGELOG",
82
+ description: "changelog path or content",
83
+ default_value: nil,
84
+ optional: true),
77
85
  FastlaneCore::ConfigItem.new(key: :open,
78
86
  env_name: "FIR_APP_OPEN",
79
87
  description: "true/false if open for everyone",
@@ -83,6 +91,19 @@ module Fastlane
83
91
  env_name: "FIR_APP_PASSWORD",
84
92
  description: "Set password for app",
85
93
  default_value: nil,
94
+ optional: true),
95
+ FastlaneCore::ConfigItem.new(key: :switch_to_qiniu,
96
+ env_name: "FIR_SWITCH_TO_QINIU",
97
+ description: "switch to qiniu upload",
98
+ default_value: false,
99
+ optional: true),
100
+ FastlaneCore::ConfigItem.new(key: :dingtalk_access_token,
101
+ env_name: "FIR_DINGTALK_ACCESS_TOKEN",
102
+ description: "dingtalk_access_token",
103
+ optional: true),
104
+ FastlaneCore::ConfigItem.new(key: :dingtalk_custom_message,
105
+ env_name: "FIR_DINGTALK_CUSTOM_MESSAGE",
106
+ description: "dingtalk custom message",
86
107
  optional: true)
87
108
 
88
109
  ]
@@ -104,11 +125,24 @@ module Fastlane
104
125
  class FirHelper
105
126
  include FIR::Util
106
127
 
128
+
107
129
  class << self
108
130
  def logger
109
131
  @logger ||= Logger.new(STDOUT)
110
132
  end
111
133
  end
134
+
135
+ end
136
+
137
+ class FIR::AppUploader
138
+ def logger
139
+ self.class.logger
140
+ end
141
+ class << self
142
+ def logger
143
+ @logger ||= Logger.new(STDOUT)
144
+ end
145
+ end
112
146
  end
113
147
  end
114
148
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FirCli
3
- VERSION = "0.1.1"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-fir_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - atpking
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-19 00:00:00.000000000 Z
11
+ date: 2019-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fir-cli
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.7.4
19
+ version: 2.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.7.4
26
+ version: 2.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement