mjcheetham/update-homebrew

Update a Homebrew Formula or Cask file with new version and bottle information.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
namePackage nameyes
typeType of Homebrew package: 'formula' (default) or 'cask'noformula
versionPackage version. Required if 'releaseRepo', 'releaseTag', and 'releaseAsset' are not specified. no
releaseRepoRepository from which to locate a release asset to compute the new package version. If not provided `GITHUB_REPOSITORY` (the current repository) is used as the default. no
releaseTagTag for the release containing an asset from which to compute the new package verison. If not provided `GITHUB_REF` (the current ref) is used as the default. no
releaseAssetRegular expression to match release asset names for updating the package version. Must contain one capture group that captures the new package version number. If a named capture group 'version' exists that will be used, otherwise the first capture group (matches[1]) will be used. no
urlDownload asset URL. The following replacements will be made: {{version}} => full version string {{version.major}} => major version (x) {{version.major_minor}} => major and minor version (x.y) {{version.major_minor_patch}} => major, minor and patch version (x.y.z) no
sha256Download asset SHA-256 hash. If omitted the hash will be calculated.no
tapTap to update. Can be in the form '<org>/homebrew-<name>' or '<org>/<name>'. Defaults to 'homebrew/core'. nohomebrew/core
branchTap branch to target. Defaults to the default branch.no
tokenAccess token used to access the Tap, submit pull requests or push commits.yes
messageCommit message template for the update. The following replacements will be made: {{name}} => name of the package {{file}} => file path of the package definition {{type}} => type of package: 'Formula' or 'Cask' {{version}} => full version string {{version.major}} => major version (x) {{version.major_minor}} => major and minor version (x.y) {{version.major_minor_patch}} => major, minor and patch version (x.y.z) no{{name}}: update to {{version}}
alwaysUsePullRequestSet to 'true' to always create a pull request rather than committing directly to the Tap's branch, even if it's possible. Defaults to false. nofalse

no outputs