Skip to content

Read FASTLANE_SKIP_TOOLKIT_UPDATE_CHECK in check_for_toolkit_updates action #483

Open
@mokagio

Description

@mokagio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions