code: function normalizeVersion(release) {
      // Ignore draft
      if (release.draft) return null;
  
      var downloadCount = 0;
      var releasePlatforms = _.chain(release.assets)
          .map(function(asset) {
              var platform = platforms.detect(asset.name);
              if (!platform) return null;
  
              downloadCount = downloadCount + asset.download_count;
              return {
                  id: String(asset.id),
                  type: platform,
                  filename: asset.name,
                  size: asset.size,
                  content_type: asset.content_type,
                  raw: asset
              };
          })
          .compact()
          .value();
  
      return {
          tag: normalizeTag(release.tag_name).split('-')[0],
          channel: extractChannel(release.tag_name),
          notes: release.body || "",
          published_at: new Date(release.published_at),
          platforms: releasePlatforms
      };
  }
docs: Normalize a release to a version