Read `FASTLANE_SKIP_TOOLKIT_UPDATE_CHECK` in `check_for_toolkit_updates` action

未关闭
#483 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
ruby
领域
release, tooling

调研方向

从 check_for_toolkit_updates action 的实现入手,跟踪它当前如何执行检查。审查现有的 FASTLANE_SKIP_TOOLKIT_UPDATE_CHECK 和 is_ci 行为,然后决定输出消息和 force 参数应如何与它们交互。当所选行为已在测试中记录,并且无需项目级绕过逻辑即可调用该 action 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Currently, projects such as WordPress iOS use check_for_toolkit_updates in combination with the FASTLANE_SKIP_TOOLKIT_UPDATE_CHECK environment variable as a way to bypass the process. E.g.

check_for_toolkit_updates unless is_ci || ENV['FASTLANE_SKIP_TOOLKIT_UPDATE_CHECK']

Having the env var spelled out at the project level is convenient for discoverability, but I wonder if we would be better served "at scale" if the command itself read that env var, and possibly the is_ci value, too.

Doing so would streamline adopting the command ("action", really) to simply calling it.

We could compensate for discoverability by:

  • Adding a message as part of the output informing users of the env var existence
  • Adding a force parameter to bypass those internal checks
主要语言
Ruby
星标
32
派生
7
平均合并
1 天 15 小时
30 天内合并 PR
9

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

wordpress-mobile/release-toolkit 的其他 Issue

查看 wordpress-mobile/release-toolkit 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。