homebrew's OCI reference pattern depends on if the version is latest or not. I think we can change the shell script to make a head request or something and remove maintenance on each minor release. Basically, check the pattern for latest, and failing that the versioned pattern.
Note: homebrew policy is currently only 2 versions: latest (currently 1.19) and last (currently 1.18). However, we should handle this in a way that allows that policy to relax to N non-latest versions (likely they won't change, but yeah)
I'll take this on as people have to think too much to do a release. Ex. is hombrew synced? which version is "envoy"? Was it re-released (ex version like 1.19.1-1)?
homebrew's OCI reference pattern depends on if the version is latest or not. I think we can change the shell script to make a head request or something and remove maintenance on each minor release. Basically, check the pattern for latest, and failing that the versioned pattern.
Note: homebrew policy is currently only 2 versions: latest (currently 1.19) and last (currently 1.18). However, we should handle this in a way that allows that policy to relax to N non-latest versions (likely they won't change, but yeah)
https://github.com/tetratelabs/archive-envoy/pull/20