Skip to content
fir.im fastlane plugin
Ruby
Branch: master
Clone or download
Latest commit 2fd59b8 Jan 11, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
fastlane
lib/fastlane/plugin
spec
.byebug_history
.gitignore
.rspec
.rubocop.yml
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
TAGS
fastlane-plugin-fir_cli.gemspec
luckin_coffee.png

README.md

fir_cli plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-fir_cli, add it to your project by running:

fastlane add_plugin fir_cli

About fir_cli

Using fir-cli gem, upload ipa or apk to fir.im in fastlane directly.

内置 fir-cli 这个gem, 直接在fastlane 中直接将文件上传到 fir.im

params

run fastlane action fir_cli in terminal to lookup the details.

在命令行中运行 fastlane action fir_cli 查看细节.

most of params in this plugin copied directly from fir-cli publish params (fir-cli github)

插件里的绝大多数参数都是从 fir-cli 的 publish 的参数 (fir-cli github) 直接拷贝的

+-------------------------+------------------------------------------+-----------------------------+---------+
|                                              fir_cli Options                                               |
+-------------------------+------------------------------------------+-----------------------------+---------+
| Key                     | Description                              | Env Var                     | Default |
+-------------------------+------------------------------------------+-----------------------------+---------+
| api_token               | A description of your option             | FIR_CLI_API_TOKEN           |         |
| specify_file_path       | FILE APP PATH                            | FIR_SPECIFY_FILE_PATH       |         |
| short                   | fir short                                | FIR_APP_SHORT               |         |
| force_pin_history       | pin this release to download page        | FIR_APP_FORCE_PIN_HISTORY   | false   |
| skip_update_icon        | skip upload icon                         | FIR_APP_SKIP_UPDATE_ICON    | false   |
| specify_icon_file       | APP ICON FILE PATH                       | FIR_SPECIFY_ICON_FILE_PATH  |         |
| changelog               | changelog path or content                | FIR_APP_CHANGELOG           |         |
| open                    | true/false if open for everyone          | FIR_APP_OPEN                | true    |
| password                | Set password for app                     | FIR_APP_PASSWORD            |         |
| switch_to_qiniu         | switch to qiniu upload                   | FIR_SWITCH_TO_QINIU         | false   |
| need_release_id         | would build download url with release id | FIR_NEED_RELEASE_ID         | false   |
| dingtalk_access_token   | dingtalk_access_token                    | FIR_DINGTALK_ACCESS_TOKEN   |         |
| dingtalk_custom_message | dingtalk custom message                  | FIR_DINGTALK_CUSTOM_MESSAGE |         |
+-------------------------+------------------------------------------+-----------------------------+---------+

Example

run fir_plugin in Fastfile

在 Fastfile 文件中 引入

default_platform(:ios)

platform :ios do
  lane :gofir do
    gym export_method: "ad-hoc"
    
    # 多个参数 可以使用逗号(, )分离   
    fir_cli api_token: "YOUR FIR API TOKEN",  changelog: "Hello fir.im"
    
  end
end

# run `fastlane gofir` in terminal to start lane gofir

run fir plugin in bash

在终端跑这个插件

fastlane run fir_cli api_token:"YOUR_FIR_API_TOKEN" specify_file_path:"YOUR IPA OR APK FILE PATH"

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Buy me a coffee

Thanks!

感谢鼓励作者维护!

luckin

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.

You can’t perform that action at this time.