GithubHelp home page GithubHelp logo

hongxinhope / fastlane-plugin-fir_cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pgyer/fastlane-plugin-fir_cli

0.0 1.0 0.0 175 KB

fir.im fastlane plugin

Home Page: https://fir.im

License: MIT License

Ruby 100.00%

fastlane-plugin-fir_cli's Introduction

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 查看细节.

+-------------------------+------------------------------------------+-----------------------------+---------+
|                                              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.

fastlane-plugin-fir_cli's People

Contributors

hongxinhope avatar jicheng1014 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.