Skip to content
Snippets Groups Projects

All non-EOL Fedora releases

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Sheogorath

    This simple snippet of curl | jq returns all non-EOL versions of Fedora by using the API of endoflife.date. By just replacing the api endpoint, you can use this snippet for other projects there as well, such as Kubernetes, Ubuntu or alike.

    Edited
    versions.sh 129 B
    curl https://endoflife.date/api/fedora.json | jq --raw-output '.[] | select(.eol | strptime("%Y-%m-%d") |mktime > now) | .latest'
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment