<% latest_stable = @items['/_data/versions.yaml'][:online].first next_major = latest_stable.split('.').first next_minor = "#{latest_stable.split('.').last.to_i + 1}" next_version = "#{next_major}.#{next_minor}" dotcom = "GitLab.com (#{next_version}-pre)" %>
Version