Update appcast.md (#94172)

This commit is contained in:
Miccal Matthews
2020-12-03 04:28:07 +00:00
committed by GitHub
parent 378ec56987
commit 5c0fffd8ee
@@ -24,7 +24,7 @@ The [`find-appcast`](https://github.com/Homebrew/homebrew-cask/blob/master/devel
| key | value |
| --------------- | ----------- |
| `must_contain:` | a custom string for `brew cask audit --appcast {{cask_file}}` to check against. |
| `must_contain:` | a custom string for `brew audit --appcast {{cask_file}}` to check against. |
Sometimes a `version` doesnt match a string on the webpage, in which case we tweak what to search for. Example: if `version` is `6.26.1440` and the appcasts contents only show `6.24`, the check for “is `version` in the appcast feed” will fail. With `must_contain`, the check is told to “look for this string instead of `version`”. In the example, `must_contain: version.major_minor` is saying “look for `6.24`”, making the check succeed.