This PR parameterizes the search URL and regular expression pattern for the 1Password CLI download. This allows users to specify alternate URLs and patterns to download the v2 beta CLI instead of only the v1 release.
For example, the following Input keys will download the latest v2 CLI:
Parameterizing those Inputs with the current values used as processor arguments ensures existing workflows and child recipes do not break. There will be no changes for existing users, and they will continue to download the v1 CLI tool. Only those manually providing alternate URLs and patterns will see a difference.
This PR parameterizes the search URL and regular expression pattern for the 1Password CLI download. This allows users to specify alternate URLs and patterns to download the v2 beta CLI instead of only the v1 release.
For example, the following Input keys will download the latest v2 CLI:
SEARCH_URL
=https://app-updates.agilebits.com/product_history/CLI2
SEARCH_PATTERN
=href=\"(?P<url>https://cache.agilebits.com/dist/1P/op2/pkg/v[0-9\.]+/op_apple_universal_v(?P<version>[0-9\.]+).pkg)\"
Parameterizing those Inputs with the current values used as processor arguments ensures existing workflows and child recipes do not break. There will be no changes for existing users, and they will continue to download the v1 CLI tool. Only those manually providing alternate URLs and patterns will see a difference.