mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
jq: get_latest_version
This commit is contained in:
parent
8fdca1d87c
commit
9a8b94fad5
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue