{"id":19978073,"url":"https://github.com/pgyer/fastlane-plugin-fir_cli","last_synced_at":"2025-05-04T03:31:01.496Z","repository":{"id":48111101,"uuid":"222646323","full_name":"PGYER/fastlane-plugin-fir_cli","owner":"PGYER","description":"betaqr.com(fir.im) fastlane plugin","archived":false,"fork":false,"pushed_at":"2023-03-27T03:47:02.000Z","size":195,"stargazers_count":50,"open_issues_count":3,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-27T23:31:39.746Z","etag":null,"topics":["ci","fastlane-plugin","fir","ipa"],"latest_commit_sha":null,"homepage":"https://betaqr.com.cn","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PGYER.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-11-19T08:29:13.000Z","updated_at":"2024-09-10T07:01:49.000Z","dependencies_parsed_at":"2023-07-15T14:03:31.774Z","dependency_job_id":null,"html_url":"https://github.com/PGYER/fastlane-plugin-fir_cli","commit_stats":{"total_commits":46,"total_committers":4,"mean_commits":11.5,"dds":"0.10869565217391308","last_synced_commit":"f01d919111a1b807d2f25a22c0db898fb988ad87"},"previous_names":["firhq/fastlane-plugin-fir_cli"],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PGYER%2Ffastlane-plugin-fir_cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PGYER%2Ffastlane-plugin-fir_cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PGYER%2Ffastlane-plugin-fir_cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PGYER%2Ffastlane-plugin-fir_cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PGYER","download_url":"https://codeload.github.com/PGYER/fastlane-plugin-fir_cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252283577,"owners_count":21723503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci","fastlane-plugin","fir","ipa"],"created_at":"2024-11-13T03:30:20.967Z","updated_at":"2025-05-04T03:31:00.165Z","avatar_url":"https://github.com/PGYER.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fir_cli plugin\n\n[![Gem Version](https://badge.fury.io/rb/fastlane-plugin-fir_cli.svg)](https://badge.fury.io/rb/fastlane-plugin-fir_cli)\n[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-fir_cli)\n\n## Getting Started\n\nThis project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-fir_cli`, add it to your project by running:\n\n```bash\nfastlane add_plugin fir_cli\n```\n\n## About fir_cli\n\nUsing fir-cli gem, upload ipa or apk to fir.im in fastlane directly.\n\n内置 fir-cli 这个gem, 直接在fastlane 中直接将文件上传到 fir.im\n\n## params\n\nrun `fastlane action fir_cli` in terminal to lookup the details.\n\n在命令行中运行 `fastlane action fir_cli` 查看细节.\n\nmost of params in this plugin copied directly from fir-cli publish params ([fir-cli github](https://github.com/FIRHQ/fir-cli/))\n\n插件里的绝大多数参数都是从 fir-cli 的 publish 的参数 ([fir-cli github (https://github.com/FIRHQ/fir-cli/)](https://github.com/FIRHQ/fir-cli/)) 直接拷贝的\n\n\n```\n+--------------------------+------------------------------------+------------------------------+---------+\n|                                            fir_cli Options                                             |\n+--------------------------+------------------------------------+------------------------------+---------+\n| Key                      | Description                        | Env Var                      | Default |\n+--------------------------+------------------------------------+------------------------------+---------+\n| api_token                | A description of your option       | FIR_CLI_API_TOKEN            |         |\n| specify_file_path        | FILE APP PATH                      | FIR_SPECIFY_FILE_PATH        |         |\n| short                    | fir short                          | FIR_APP_SHORT                |         |\n| force_pin_history        | pin this release to download page  | FIR_APP_FORCE_PIN_HISTORY    | false   |\n| skip_update_icon         | skip upload icon                   | FIR_APP_SKIP_UPDATE_ICON     | false   |\n| specify_icon_file        | APP ICON FILE PATH                 | FIR_SPECIFY_ICON_FILE_PATH   |         |\n| changelog                | changelog path or content          | FIR_APP_CHANGELOG            |         |\n| open                     | true/false if open for everyone    | FIR_APP_OPEN                 | true    |\n| password                 | Set password for app               | FIR_APP_PASSWORD             |         |\n| switch_to_qiniu          | switch to qiniu upload             | FIR_SWITCH_TO_QINIU          | false   |\n| need_release_id          | would build download url with      | FIR_NEED_RELEASE_ID          | false   |\n|                          | release id                         |                              |         |\n| specify_app_display_name | specify app display name           | FIR_SPECIFY_APP_DISPLAY_NAME |         |\n| dingtalk_access_token    | dingtalk_access_token              | FIR_DINGTALK_ACCESS_TOKEN    |         |\n| dingtalk_custom_message  | dingtalk custom message            | FIR_DINGTALK_CUSTOM_MESSAGE  |         |\n| dingtalk_at_phones       | dingtalk at phones, split with ',' | FIR_DINGTALK_AT_PHONES       |         |\n| dingtalk_at_all          | dingtalk at all people             | FIR_DINGTALK_AT_ALL          |         |\n| feishu_access_token      | feishu_access_token                | FIR_FEISHU_ACCESS_TOKEN      |         |\n| feishu_custom_message    | feishu custom message              | FIR_FEISHU_CUSTOM_MESSAGE    |         |\n| wxwork_access_token      | wechat work webhook access_token   | FIR_WXWORK_ACCESS_TOKEN      |         |\n| wxwork_pic_url           | wechat work webhook pic url        | FIR_WXWORK_PIC_URL           |         |\n| wxwork_custom_message    | wechat work custom message         | FIR_WXWORK_CUSTOM_MESSAGE    |         |\n+--------------------------+------------------------------------+------------------------------+---------+\n```\n\n\n## Example\n\nrun fir_plugin in Fastfile\n\n在 Fastfile 文件中 引入\n\n```\ndefault_platform(:ios)\n\nplatform :ios do\n  lane :gofir do\n    gym export_method: \"ad-hoc\"\n\n    # 多个参数 可以使用逗号(, )分离\n    fir_cli api_token: \"YOUR FIR API TOKEN\",  changelog: \"Hello fir.im\"\n\n  end\nend\n\n# run `fastlane gofir` in terminal to start lane gofir\n```\n\n\n\nrun fir plugin in bash\n\n在终端跑这个插件\n\n\n```\nfastlane run fir_cli api_token:\"YOUR_FIR_API_TOKEN\" specify_file_path:\"YOUR IPA OR APK FILE PATH\"\n```\n\n## About another plugin fastlane-plugin-firim\n\n关于 另一个插件 https://github.com/whlsxl/firim 这是 fir.im 的一名热心用户 whlsxl 开发的第三方fir插件\n\n特别感谢 作者 whlsxl 对 firim 插件的辛勤开发, 这款插件代码优秀质量可靠, 是我学习的典范\n\n因为 2020年02月 .im 域名不再支持备案, 所以导致fir.im 无法继续支撑 fir.im 域名\n导致 whlsxl 的 firim 插件 需要修改api 的地址\n\nwhlsxl 提供的解决方案是 `目前配置总的firim_api_url改为http://api.jappstore.com/或http://api.bq04.com 均可用`\n\n具体可参见他的项目的 readme 或 https://github.com/whlsxl/firim/issues/26\n\n\n\n## Issues and Feedback\n\nFor any other issues and feedback about this plugin, please submit it to this repository.\n\n## Troubleshooting\n\nIf you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.\n\n\n## Buy me a coffee\n\nThanks!\n\n支付宝打赏 感谢鼓励作者维护!\n\n![luckin](luckin_coffee.png)\n\n## Using _fastlane_ Plugins\n\nFor more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).\n\n## About _fastlane_\n\n_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).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgyer%2Ffastlane-plugin-fir_cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgyer%2Ffastlane-plugin-fir_cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgyer%2Ffastlane-plugin-fir_cli/lists"}