japaric / trust

Travis CI and AppVeyor template to test your Rust crate on 5 architectures and publish binary releases of it for Linux, macOS and Windows
Apache License 2.0
1.26k stars 59 forks source link

Fix latest Git tag detection in install script on GitHub Pages #137

Open tyranron opened 2 years ago

tyranron commented 2 years ago

Fixes #130 Supersedes #124

Synopsis

Explained here: https://github.com/japaric/trust/issues/130#issuecomment-1315085924

Solution

Parse latest Git tag name from JSON returned by https://api.github.com/repos/$git/releases/latest.