jq: get_latest_version

This commit is contained in:
Simon Legner 2021-05-26 21:27:50 +02:00
parent 8fdca1d87c
commit 9a8b94fad5

View file

@ -19,5 +19,9 @@ module Docs
Licensed under the <a href="https://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 license</a>
HTML
def get_latest_version(opts)
get_latest_github_release('stedolan', 'jq', opts).split('-')[1]
end
end
end