supply/lib/supply/client.rb
# Get list of version codes for track
Get list of version codes for track
Get list of version codes for track
def track_version_codes(track)
      ensure_active_edit!
      begin
        result = client.get_edit_track(
          current_package_name,
          current_edit.id,
          track
        )
        return result.releases.flat_map(&:version_codes) || []
      rescue Google::Apis::ClientError => e
        return [] if e.status_code == 404 && (e.to_s.include?("trackEmpty") || e.to_s.include?("Track not found"))
        raise
      end
    end
def track_version_codes ( track ) ensure_active_edit! begin result = client . get_edit_track ( current_package_name , current_edit . id , track ) return result . releases . flat_map ( & :version_codes ) || [ ] rescue Google :: Apis :: ClientError => e return [ ] if e . status_code == 404 && ( e . to_s . include? ( "trackEmpty" ) || e . to_s . include? ( "Track not found" ) ) raise end end
Get list of version codes for track
Get list of version codes for track
track
<not_specific>