Commit e4441ac5 authored by David Hrbáč's avatar David Hrbáč

Fixes it4i-admins/docs.it4i#52

parent 52676bd9
Pipeline #2107 passed with stages
in 1 minute
require 'faraday'
require 'json'
#print ARGV[0].downcase
response = Faraday.get "{ARGV[0].downcase}"
fedora = JSON.parse( response.body )['projects'][0]['version']
response = Faraday.get ""
it4i = JSON.parse( response.body )['projects'][ARGV[0]]
it4i_short = it4i.split('-')[0]
puts "IT4Innovations: #{it4i_short} (#{it4i})"
puts "Upstream : #{fedora}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment