lib/release_tools/release_metadata_uploader.rb
def format_release_metadata(data)
      {
        security: SharedStatus.security_release?,
        releases: data.releases.each_with_object({}) do |(_, obj), hash|
          hash[obj.name.to_sym] = {
            version: obj.version,
            sha: obj.sha,
            ref: obj.ref,
            tag: obj.tag?
          }
        end
      }
    end
# The project on ops.gitlab.net to store the release metadata in.
The project on ops.gitlab.net to store the release metadata in.
The project on ops . gitlab . net to store the release metadata in .
def format_release_metadata(data)
      {
        security: SharedStatus.security_release?,
        releases: data.releases.each_with_object({}) do |(_, obj), hash|
          hash[obj.name.to_sym] = {
            version: obj.version,
            sha: obj.sha,
            ref: obj.ref,
            tag: obj.tag?
          }
        end
      }
    end
def format_release_metadata ( data ) { security : SharedStatus . security_release? , releases : data . releases . each_with_object ( { } ) do | ( _ , obj ) , hash | hash [ obj . name . to_sym ] = { version : obj . version , sha : obj . sha , ref : obj . ref , tag : obj . tag? } end } end
The project on ops.gitlab.net to store the release metadata in.
The project on ops . gitlab . net to store the release metadata in .
data