tetratelabs / archive-envoy

Archive of Envoy® release binaries
Apache License 2.0
10 stars 4 forks source link

Detect homebrew pattern instead of having maintenance #21

Closed codefromthecrypt closed 2 years ago

codefromthecrypt commented 2 years ago

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

codefromthecrypt commented 2 years ago

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)?